Bugzilla – Attachment 21807 Details for
Bug 10951
Make the NoLoginInstructions a customizable field through preferences
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Neglected to escape the single quotes in the sql command. This corrects it.
Neglected-to-escape-the-single-quotes-in-the-sql-c.patch (text/plain), 1.73 KB, created by
Blou
on 2013-10-04 12:35:57 UTC
(
hide
)
Description:
Neglected to escape the single quotes in the sql command. This corrects it.
Filename:
MIME Type:
Creator:
Blou
Created:
2013-10-04 12:35:57 UTC
Size:
1.73 KB
patch
obsolete
>From 35cf1f649075632a40b4a25025dc75cea52e951d Mon Sep 17 00:00:00 2001 >From: blou <philippe.blouin@inlibro.com> >Date: Fri, 4 Oct 2013 08:34:01 -0400 >Subject: [PATCH] Neglected to escape the single quotes in the sql command. > This corrects it. > >http://bugs.koha-community.org/show_bug.cgi?id=10951 >--- > installer/data/mysql/updatedatabase.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 851ecd5..226888d 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -7158,7 +7158,7 @@ if ( CheckVersion($DBversion) ) { > $DBversion ="3.13.00.XXX"; > if ( CheckVersion($DBversion) ) { > $dbh->do("INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) >- VALUES ('NoLoginInstructions', '<h5>Don't have a password yet?</h5> <p> If you don't have a password yet, stop by the circulation desk the next time you're in the library. We'll happily set one up for you.</p> <h5>Don't have a library card?</h5> <p> If you don't have a library card, stop by your local library to sign up. </p>', '60|10', 'Instructions when a person is not connected', 'Textarea')"); >+ VALUES ('NoLoginInstructions', '<h5>Don\'t have a password yet?</h5> <p> If you don\'t have a password yet, stop by the circulation desk the next time you\'re in the library. We\'ll happily set one up for you.</p> <h5>Don\'t have a library card?</h5> <p> If you don\'t have a library card, stop by your local library to sign up. </p>', '60|10', 'Instructions when a person is not connected', 'Textarea')"); > print "Upgrade to $DBversion done (Bug 10951: Add NoLoginInstructions pref)\n"; > SetVersion($DBversion); > } >-- >1.7.10.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 10951
:
21460
|
21510
|
21515
|
21516
|
21522
|
21524
|
21807
|
21810
|
21811
|
21812
|
21813
|
21814
|
21815
|
21816
|
21853
|
21854
|
21855
|
22711
|
22712
|
22713