From 896754d71a69929319a5480c0134d386cc65b646 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Thu, 3 Jan 2008 19:02:05 -0500 Subject: [PATCH] fixing incorrect reference to opaclanguages syspref Signed-off-by: Joshua Ferraro --- 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 272fb31569..d17e7764ff 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -88,7 +88,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $DBversion = "3.00.00.003"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { - if (C4::Context->preference("opaclanguage") eq "fr") { + if (C4::Context->preference("opaclanguages") eq "fr") { $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ReservesNeedReturns','0','Si ce paramètre est mis à 1, une réservation posée sur un exemplaire présent sur le site devra être passée en retour pour être disponible. Sinon, elle sera automatiquement disponible, Koha considère que le bibliothécaire place la réservation en ayant le document en mains','','YesNo')"); } else { $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ReservesNeedReturns','0','If set, a reserve done on an item available in this branch need a check-in, otherwise, a reserve on a specific item, that is on the branch & available is considered as available','','YesNo')"); -- 2.39.5