From 2c0947c15747be46cd810a31baaf0380ad823c77 Mon Sep 17 00:00:00 2001 From: blou Date: Fri, 4 Oct 2013 11:49:05 -0400 Subject: [PATCH] changed escape \' to '' (and \? to ?) 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 475fa9c..b55f6f3 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -7164,7 +7164,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', '
Don\'t have a password yet\?

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.

Don\'t have a library card\?

If you don\'t have a library card, stop by your local library to sign up.

', '60|10', 'Instructions when a person is not connected', 'Textarea')"); + $dbh->do("INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('NoLoginInstructions', '
Don''t have a password yet?

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.

Don''t have a library card?

If you don''t have a library card, stop by your local library to sign up.

', '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