Bugzilla – Attachment 114781 Details for
Bug 27276
borrowers-force-messaging-defaults throws Incorrect DATE value: '0000-00-00' even though sql strict mode is dissabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27276:: Fix syntax error
Bug-27276-Fix-syntax-error.patch (text/plain), 990 bytes, created by
Kyle M Hall (khall)
on 2021-01-04 13:21:08 UTC
(
hide
)
Description:
Bug 27276:: Fix syntax error
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2021-01-04 13:21:08 UTC
Size:
990 bytes
patch
obsolete
>From 34e746227f67c976e0c1babe7d21d60afce14d94 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 4 Jan 2021 08:12:25 -0500 >Subject: [PATCH] Bug 27276:: Fix syntax error > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > misc/maintenance/borrowers-force-messaging-defaults.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/misc/maintenance/borrowers-force-messaging-defaults.pl b/misc/maintenance/borrowers-force-messaging-defaults.pl >index c9a1ef727f..0e30596879 100755 >--- a/misc/maintenance/borrowers-force-messaging-defaults.pl >+++ b/misc/maintenance/borrowers-force-messaging-defaults.pl >@@ -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 >= ?"; > } >-- >2.24.1 (Apple Git-126)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27276
:
114520
|
114768
|
114780
| 114781