From 6b88ea88bb322298db9d3250d7eb4359c59e0685 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Mon, 18 Jan 2010 01:05:38 +0100 Subject: [PATCH] Fixing dbrev 104 There was two variable declaration missing --- installer/data/mysql/updatedatabase.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 9c4940a3f6..a93bc5e7f8 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -3328,6 +3328,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $DBversion = "3.01.00.104"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { + my ($maninv_count, $borrnotes_count); eval { $maninv_count = $dbh->do("SELECT 1 FROM authorised_values WHERE category='MANUAL_INV'"); }; if ($maninv_count == 0) { $dbh->do("INSERT INTO authorised_values (category,authorised_value,lib) VALUES ('MANUAL_INV','Copier Fees','.25')"); -- 2.39.5