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:
parent
50c886e0a9
commit
e36297e861
|
|
@ -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