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

(-)a/C4/Items.pm (-2 / +1 lines)
Lines 619-625 sub DelItem { Link Here
619
619
620
    # backup the record
620
    # backup the record
621
    my $copy2deleted = $dbh->prepare("UPDATE deleteditems SET marc=? WHERE itemnumber=?");
621
    my $copy2deleted = $dbh->prepare("UPDATE deleteditems SET marc=? WHERE itemnumber=?");
622
    $copy2deleted->execute( $record->as_usmarc(), $itemnumber );
622
    eval { $copy2deleted->execute( $record->as_usmarc(), $itemnumber ); }; warn $@ if $@;
623
    # This last update statement makes that the timestamp column in deleteditems is updated too. If you remove these lines, please add a line to update the timestamp separately. See Bugzilla report 7146 and Biblio.pm (DelBiblio).
623
    # This last update statement makes that the timestamp column in deleteditems is updated too. If you remove these lines, please add a line to update the timestamp separately. See Bugzilla report 7146 and Biblio.pm (DelBiblio).
624
624
625
    #search item field code
625
    #search item field code
626
- 

Return to bug 9231