View | Details | Raw Unified | Return to bug 22917
Collapse All | Expand All

(-)a/C4/Log.pm (-3 / +3 lines)
Lines 77-85 sub logaction { Link Here
77
    $usernumber ||= 0;
77
    $usernumber ||= 0;
78
    $interface //= C4::Context->interface;
78
    $interface //= C4::Context->interface;
79
79
80
    my $now = dt_from_string;
80
    my $dbh = C4::Context->dbh;
81
    my $dbh = C4::Context->dbh;
81
    my $sth=$dbh->prepare("Insert into action_logs (timestamp,user,module,action,object,info,interface) values (now(),?,?,?,?,?,?)");
82
    my $sth=$dbh->prepare("Insert into action_logs (timestamp,user,module,action,object,info,interface) values (?,?,?,?,?,?,?)");
82
    $sth->execute($usernumber,$modulename,$actionname,$objectnumber,$infos,$interface);
83
    $sth->execute($now, $usernumber,$modulename,$actionname,$objectnumber,$infos,$interface);
83
    $sth->finish;
84
    $sth->finish;
84
85
85
    my $logger = Koha::Logger->get(
86
    my $logger = Koha::Logger->get(
86
- 

Return to bug 22917