From 35cf1f649075632a40b4a25025dc75cea52e951d Mon Sep 17 00:00:00 2001 From: blou 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', '
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')"); + 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