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:
parent
66f435149a
commit
939eadc5d9
|
|
@ -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 = ? ";
|
||||
|
|
|
|||
Loading…
Reference in New Issue