Bug 6151 follow-up DBREv & removing useless `
authorPaul Poulain <paul.poulain@biblibre.com>
Mon, 17 Sep 2012 17:18:59 +0000 (19:18 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 17 Sep 2012 17:18:59 +0000 (19:18 +0200)
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index 4953023..7fc77de 100755 (executable)
@@ -5801,7 +5801,7 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
     # to preserve default behaviour as best as possible, set this new preference differently depending on whether IndependantBranches is set or not
     my $prefvalue = 'anywhere';
     if (C4::Context->preference("IndependantBranches")) { $prefvalue = 'homeorholdingbranch';}
-    $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('AllowReturnToBranch', '$prefvalue', 'Where an item may be returned', 'anywhere|homebranch|holdingbranch|homeorholdingbranch', 'Choice');");
+    $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('AllowReturnToBranch', '$prefvalue', 'Where an item may be returned', 'anywhere|homebranch|holdingbranch|homeorholdingbranch', 'Choice');");
 
     print "Upgrade to $DBversion done: adding AllowReturnToBranch syspref (bug 6151)";
     SetVersion($DBversion);
index 0e3d15a..2c7aa6b 100644 (file)
@@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts :
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.09.00.046';
+    our $VERSION = '3.09.00.047';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install