From: Galen Charlton Date: Fri, 28 Dec 2007 16:00:39 +0000 (-0600) Subject: fixed quoting problem in updatedatabase.pl; version now 038 X-Git-Tag: v3.00.00-alpha~202 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=3584922a703112e529c1a641cef8ebd381fe2091;hp=0049dd64b348c2863b65536ebddbea07610e576a;p=koha.git fixed quoting problem in updatedatabase.pl; version now 038 Signed-off-by: Joshua Ferraro --- diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 3697509701..8ecb5e0002 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -796,8 +796,8 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $DBversion = "3.00.00.038"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { - $dbh->do("UPDATE `systempreferences` set explanation='Choose the fines mode, \'off\', \'test\' (emails admin report) or \'production\' (accrue overdue fines). Requires fines cron script' , options='off|test|production' where variable='finesMode'"); - $dbh->do("DELETE FROM `systempreferences` WHERE variable='hideBiblioNumber"); + $dbh->do(q(UPDATE `systempreferences` set explanation='Choose the fines mode, \'off\', \'test\' (emails admin report) or \'production\' (accrue overdue fines). Requires fines cron script' , options='off|test|production' where variable='finesMode')); + $dbh->do("DELETE FROM `systempreferences` WHERE variable='hideBiblioNumber'"); print "Upgrade to $DBversion done ('alter finesMode systempreference, remove superfluous syspref.')\n"; SetVersion ($DBversion); } diff --git a/kohaversion.pl b/kohaversion.pl index 84dcd5ba33..c152bdb5d4 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -10,7 +10,7 @@ use strict; sub kohaversion { - our $VERSION = "3.00.00.037"; + our $VERSION = "3.00.00.038"; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install