fixed some bugs
This commit is contained in:
parent
2dd25427cf
commit
a1403acb38
3 changed files with 4 additions and 2 deletions
|
|
@ -1139,6 +1139,9 @@ my $newTemplate = $import->addChild({
|
|||
namespace=>'Shortcut',
|
||||
title=>'Default Shortcut',
|
||||
menuTitle=>'Default Shortcut',
|
||||
ownerUserId=>'3',
|
||||
groupIdView=>'7',
|
||||
groupIdEdit=>'4',
|
||||
isHidden=>1,
|
||||
template=>'
|
||||
<a name="<tmpl_var assetId>"></a>
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -327,7 +327,6 @@ sub open {
|
|||
$CGI::POST_MAX=-1;
|
||||
$session{cgi} = CGI->new();
|
||||
}
|
||||
return if ($session{setting}{specialState} eq "upgrading");
|
||||
###----------------------------
|
||||
### evironment variables from web server
|
||||
$session{env} = \%ENV;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue