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

(-)a/C4/Items.pm (-2 / +1 lines)
Lines 618-624 sub DelItem { Link Here
618
618
619
    # backup the record
619
    # backup the record
620
    my $copy2deleted = $dbh->prepare("UPDATE deleteditems SET marc=? WHERE itemnumber=?");
620
    my $copy2deleted = $dbh->prepare("UPDATE deleteditems SET marc=? WHERE itemnumber=?");
621
    $copy2deleted->execute( $record->as_usmarc(), $itemnumber );
621
    eval { $copy2deleted->execute( $record->as_usmarc(), $itemnumber ); }; warn $@ if $@;
622
    # 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).
622
    # 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
623
624
    #search item field code
624
    #search item field code
625
- 

Return to bug 9231