From 27bbc91a737f9fd88811e1952fa2172f941221d4 Mon Sep 17 00:00:00 2001 From: Holger Lindemann Date: Tue, 14 Jul 2009 07:31:16 +0200 Subject: [PATCH] Abfrage nach accno in Hochkomma stellen --- sql/Pg-upgrade/Pg-upgrade-2.2.0.33-2.2.0.34.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/Pg-upgrade/Pg-upgrade-2.2.0.33-2.2.0.34.pl b/sql/Pg-upgrade/Pg-upgrade-2.2.0.33-2.2.0.34.pl index 497f53f85..297b14ac0 100644 --- a/sql/Pg-upgrade/Pg-upgrade-2.2.0.33-2.2.0.34.pl +++ b/sql/Pg-upgrade/Pg-upgrade-2.2.0.33-2.2.0.34.pl @@ -399,7 +399,7 @@ sub retrieve_std_inventory_accno_id { my $inventory_accno_id; if ($inventory_accno) { - $query = "SELECT id FROM chart WHERE accno = $inventory_accno"; + $query = "SELECT id FROM chart WHERE accno = '$inventory_accno'"; ($inventory_accno_id) = $dbh->selectrow_array($query); } -- 2.20.1