Bug 5549 - Hourly Loans - Fixing a typo
This commit is contained in:
parent
e56c4b249d
commit
03eea72de3
1 changed files with 1 additions and 1 deletions
|
@ -1735,7 +1735,7 @@ sub MarkIssueReturned {
|
||||||
my $query = 'UPDATE issues SET returndate=';
|
my $query = 'UPDATE issues SET returndate=';
|
||||||
my @bind;
|
my @bind;
|
||||||
if ($dropbox_branch) {
|
if ($dropbox_branch) {
|
||||||
my $calendar = Koha->new( branchcode => $dropbox_branch );
|
my $calendar = Koha::Calendar->new( branchcode => $dropbox_branch );
|
||||||
my $dropboxdate = $calendar->addDate( DateTime->now( time_zone => C4::Context->tz), -1 );
|
my $dropboxdate = $calendar->addDate( DateTime->now( time_zone => C4::Context->tz), -1 );
|
||||||
$query .= ' ? ';
|
$query .= ' ? ';
|
||||||
push @bind, $dropboxdate->strftimei('%Y-%m-%d %H:%M');
|
push @bind, $dropboxdate->strftimei('%Y-%m-%d %H:%M');
|
||||||
|
|
Loading…
Reference in a new issue