diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 7a914e3b33..eb1ae2b6b8 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -1545,7 +1545,13 @@ be cleared when it is unsuspended. sub ToggleSuspend { my ( $reserve_id, $suspend_until ) = @_; - $suspend_until = output_pref({ dt => dt_from_string( $suspend_until ), dateformat => 'iso' }) if ( $suspend_until ); + $suspend_until = output_pref( + { + dt => dt_from_string($suspend_until), + dateformat => 'iso', + dateonly => 1 + } + ) if ($suspend_until); my $do_until = ( $suspend_until ) ? '?' : 'NULL';