Bug 27276: Fix syntax error
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
f228c9ee9f
commit
4f112b782b
|
|
@ -50,7 +50,8 @@ sub force_borrower_messaging_defaults {
|
|||
my $sql =
|
||||
q|SELECT DISTINCT bo.borrowernumber, bo.categorycode FROM borrowers bo
|
||||
LEFT JOIN borrower_message_preferences mp USING (borrowernumber)
|
||||
WHERE 1|
|
||||
WHERE 1|;
|
||||
|
||||
if ( $since ) {
|
||||
$sql .= " AND bo.dateenrolled >= ?";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue