Bugzilla – Attachment 81187 Details for
Bug 21656
Syntax Error in Stock Rotation Default Notice Template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21656: Reduce the risk of possible side-effects
Bug-21656-Reduce-the-risk-of-possible-side-effects.patch (text/plain), 1.21 KB, created by
Jonathan Druart
on 2018-10-25 16:37:15 UTC
(
hide
)
Description:
Bug 21656: Reduce the risk of possible side-effects
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-10-25 16:37:15 UTC
Size:
1.21 KB
patch
obsolete
>From a7bda731f349bdb22893442e32c9576aadc4305c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 25 Oct 2018 13:32:17 -0300 >Subject: [PATCH] Bug 21656: Reduce the risk of possible side-effects > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > installer/data/mysql/atomicupdate/bug_21656.perl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_21656.perl b/installer/data/mysql/atomicupdate/bug_21656.perl >index 1b7285625f..40f1982545 100644 >--- a/installer/data/mysql/atomicupdate/bug_21656.perl >+++ b/installer/data/mysql/atomicupdate/bug_21656.perl >@@ -1,7 +1,8 @@ > $DBversion = 'XXX'; # will be replaced by the RM > if( CheckVersion( $DBversion ) ) { > $dbh->do(q{ >- UPDATE letter SET content = REPLACE(content,"item.reason ne \'in-demand\'","item.reason != \'in-demand\'"); >+ UPDATE letter SET content = REPLACE(content,"item.reason ne \'in-demand\'","item.reason != \'in-demand\'") >+ WHERE code="SR_SLIP"; > }); > print "Upgrade to $DBversion done (Bug 21656 - Stock Rotation Notice, Template Toolkit Syntax Correction)\n"; > SetVersion( $DBversion ); >-- >2.11.0
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 21656
:
81109
|
81181
|
81185
|
81186
|
81187
|
81188
|
81275
|
81276
|
81277
|
81278
|
81868
|
81869
|
81870
|
81871