112 |
my $trace = @trace ? to_json( \@trace, { utf8 => 1, pretty => 1 } ) : undef; |
113 |
my $trace = @trace ? to_json( \@trace, { utf8 => 1, pretty => 1 } ) : undef; |
115 |
my $sth=$dbh->prepare("Insert into action_logs (timestamp,user,module,action,object,info,interface,script,trace) values (now(),?,?,?,?,?,?,?,?)"); |
116 |
{ |
116 |
$sth->execute( $usernumber, $modulename, $actionname, $objectnumber, $infos, $interface, $script, $trace ); |
117 |
timestamp => \'NOW()', |