From: Holger Lindemann Date: Tue, 14 Jul 2009 05:31:16 +0000 (+0200) Subject: Abfrage nach accno in Hochkomma stellen X-Git-Tag: release-2.6.1beta1~353 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=27bbc91a737f9fd88811e1952fa2172f941221d4;p=kivitendo-erp.git Abfrage nach accno in Hochkomma stellen --- 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); }