Bug 18835: Fix SQL syntax error in overdue_notices.pl

Caused by bug 17952, an extra / is in the middle of the query.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 939eadc5d9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2017-06-21 10:59:57 -03:00 committed by Fridolin Somers
parent 50c886e0a9
commit e36297e861
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ SELECT biblio.*, items.*, issues.*, biblioitems.itemtype, branchname
AND issues.borrowernumber = ?
AND issues.branchcode = ?
AND items.itemlost = 0
/ AND TO_DAYS($date)-TO_DAYS(issues.date_due) >= 0
AND TO_DAYS($date)-TO_DAYS(issues.date_due) >= 0
END_SQL
my $query = "SELECT * FROM overduerules WHERE delay1 IS NOT NULL AND branchcode = ? ";