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

(-)a/C4/Log.pm (-2 / +1 lines)
Lines 77-83 sub logaction { Link Here
77
    $interface //= C4::Context->interface;
77
    $interface //= C4::Context->interface;
78
78
79
    $infos = $infos->get_from_storage
79
    $infos = $infos->get_from_storage
80
      if ref($infos) !~ /HASH|ARRAY/ && $infos->isa('Koha::Object');
80
      if ref($infos) && ref($infos) !~ /HASH|ARRAY/ && $infos->isa('Koha::Object');
81
81
82
    my $dbh = C4::Context->dbh;
82
    my $dbh = C4::Context->dbh;
83
    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(),?,?,?,?,?,?)");
84
- 

Return to bug 28700