Bugzilla – Attachment 81870 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.36 KB, created by
Marcel de Rooy
on 2018-11-02 08:43:59 UTC
(
hide
)
Description:
Bug 21656: Reduce the risk of possible side-effects
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-11-02 08:43:59 UTC
Size:
1.36 KB
patch
obsolete
>From c898e476638ca897aea3ede37174c2096914c17f 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 >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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 1b72856..40f1982 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.1.4
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