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>
This commit is contained in:
Jonathan Druart 2017-06-21 10:59:57 -03:00
parent 66f435149a
commit 939eadc5d9
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 = ? ";