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

(-)a/C4/Reserves.pm (-2 / +1 lines)
Lines 912-918 sub AutoUnsuspendReserves { Link Here
912
912
913
    my $dbh = C4::Context->dbh;
913
    my $dbh = C4::Context->dbh;
914
914
915
    my $query = "UPDATE reserves SET suspend = 0, suspend_until = NULL WHERE DATE( suspend_until ) < DATE( CURDATE() )";
915
    my $query = "UPDATE reserves SET suspend = 0, suspend_until = NULL WHERE DATE( suspend_until ) < CAST(now() AS date)";
916
    my $sth = $dbh->prepare( $query );
916
    my $sth = $dbh->prepare( $query );
917
    $sth->execute();
917
    $sth->execute();
918
918
919
- 

Return to bug 7802