Bugzilla – Attachment 92077 Details for
Bug 23228
Add option to automatically display payment receipt for printing after making a payment
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23228: (QA follow-up) Fix the DB update
Bug-23228-QA-follow-up-Fix-the-DB-update.patch (text/plain), 1.87 KB, created by
Martin Renvoize (ashimema)
on 2019-08-08 14:25:43 UTC
(
hide
)
Description:
Bug 23228: (QA follow-up) Fix the DB update
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-08-08 14:25:43 UTC
Size:
1.87 KB
patch
obsolete
>From 233448e03c8c6329e57dd169a73812b458ec7d36 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 8 Aug 2019 14:57:25 +0100 >Subject: [PATCH] Bug 23228: (QA follow-up) Fix the DB update > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../atomicupdate/FinePaymentAutoPopup.perl | 22 +++++++++++++------ > 1 file changed, 15 insertions(+), 7 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/FinePaymentAutoPopup.perl b/installer/data/mysql/atomicupdate/FinePaymentAutoPopup.perl >index 8e1128cd9d..7e19e5fd67 100644 >--- a/installer/data/mysql/atomicupdate/FinePaymentAutoPopup.perl >+++ b/installer/data/mysql/atomicupdate/FinePaymentAutoPopup.perl >@@ -1,10 +1,18 @@ >-$DBversion = 'XXX'; # will be replaced by the RM >-if( CheckVersion( $DBversion ) ) { >- $dbh->do({ >- INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES >- ('FinePaymentAutoPopup','0',NULL,'If enabled, automatically display a print dialog for a payment receipt when making a payment.','YesNo') >+$DBversion = 'XXX'; # will be replaced by the RM >+if ( CheckVersion($DBversion) ) { >+ $dbh->do(q{ >+ INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) >+ VALUES >+ ( >+ 'FinePaymentAutoPopup', >+ '0', >+ NULL, >+ 'If enabled, automatically display a print dialog for a payment receipt when making a payment.', >+ 'YesNo' >+ ) > }); > >- SetVersion( $DBversion ); >- print "Upgrade to $DBversion done (Bug 23228 - Add option to automatically display payment receipt for printing after making a payment)\n"; >+ SetVersion($DBversion); >+ print >+"Upgrade to $DBversion done (Bug 23228 - Add option to automatically display payment receipt for printing after making a payment)\n"; > } >-- >2.20.1
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 23228
:
91055
|
91427
|
91652
|
91660
|
91665
|
92073
|
92074
|
92075
|
92076
| 92077 |
92078