http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10951

--- Comment #17 from M. Tompsett <[email protected]> ---
Comment on attachment 21524
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21524
Adding NoLoginInstructions to system preferences

Review of attachment 21524:
 --> 
(http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=10951&attachment=21524)
-----------------------------------------------------------------

::: installer/data/mysql/updatedatabase.pl
@@ +7157,5 @@
>  
> +$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')");

You forgot to escape the single quotes in the message and you then typed
contractions like "Don't" and "We'll" in the message. Escape the single quotes,
and this works fine.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to