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

(-)a/C4/Log.pm (-1 / +3 lines)
Lines 76-81 sub logaction { Link Here
76
    $usernumber ||= 0;
76
    $usernumber ||= 0;
77
    $interface //= C4::Context->interface;
77
    $interface //= C4::Context->interface;
78
78
79
    $infos = $infos->get_from_storage
80
      if ref($infos) !~ /HASH|ARRAY/ && $infos->isa('Koha::Object');
81
79
    my $dbh = C4::Context->dbh;
82
    my $dbh = C4::Context->dbh;
80
    my $sth=$dbh->prepare("Insert into action_logs (timestamp,user,module,action,object,info,interface) values (now(),?,?,?,?,?,?)");
83
    my $sth=$dbh->prepare("Insert into action_logs (timestamp,user,module,action,object,info,interface) values (now(),?,?,?,?,?,?)");
81
    $sth->execute($usernumber,$modulename,$actionname,$objectnumber,$infos,$interface);
84
    $sth->execute($usernumber,$modulename,$actionname,$objectnumber,$infos,$interface);
82
- 

Return to bug 28700