From c50a86e55f6d1a68be349c21112e0ae728aff25d Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Mon, 17 Sep 2012 19:18:59 +0200 Subject: [PATCH] Bug 6151 follow-up DBREv & removing useless ` --- installer/data/mysql/updatedatabase.pl | 2 +- kohaversion.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 4953023003..7fc77de63a 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -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); diff --git a/kohaversion.pl b/kohaversion.pl index 0e3d15a219..2c7aa6bb1c 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -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 -- 2.11.0