fixed some bugs

This commit is contained in:
JT Smith 2005-02-17 07:08:32 +00:00
parent 2dd25427cf
commit a1403acb38
3 changed files with 4 additions and 2 deletions

View file

@ -2089,7 +2089,7 @@ If not specified, current user is used.
sub updateHistory {
my $self = shift;
my $action = shift;
my $userId = shift || $session{user}{userId};
my $userId = shift || $session{user}{userId} || '3';
my $dateStamp = time();
WebGUI::SQL->beginTransaction;
WebGUI::SQL->write("insert into assetHistory (assetId, userId, actionTaken, dateStamp) values (