Bug 10403: (follow-up) fix test to use vendor created earlier during test
[koha.git] / reserve / renewscript.pl
index d13ced3..9293cb5 100755 (executable)
@@ -68,6 +68,8 @@ my $branch = $input->param('branch');
 my $datedue;
 if ( $input->param('newduedate') ) {
     $datedue = dt_from_string( $input->param('newduedate') );
+    $datedue->set_hour(23);
+    $datedue->set_minute(59);
 }
 
 # warn "barcodes : @barcodes";
@@ -94,7 +96,7 @@ foreach my $itemno (@data) {
 my $failedreturn = q{};
 foreach my $barcode (@barcodes) {
 
-    # check status before renewing issue
+    # check status before returning issue
 
     #System Preference Handling During Check-in In Patron Module
     my $itemnumber;