Bug 16228 - Move some patron entry form JavaScript into members.js again
[koha.git] / reserve / renewscript.pl
index c2cd5bd..a1e7912 100755 (executable)
@@ -67,7 +67,7 @@ else {
 my $branch = $input->param('branch');
 my $datedue;
 if ( $input->param('newduedate') ) {
-    $datedue = dt_from_string( $input->param('newduedate') );
+    $datedue = dt_from_string( scalar $input->param('newduedate') );
     $datedue->set_hour(23);
     $datedue->set_minute(59);
 }