fixed some bugs
This commit is contained in:
parent
2dd25427cf
commit
a1403acb38
3 changed files with 4 additions and 2 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue