projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Flexiblere Verwendung von get_first
[kivitendo-erp.git]
/
sql
/
Pg-upgrade
/
Pg-upgrade-2.2.0.33-2.2.0.34.pl
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
497f53f
..
297b14a
100644
(file)
--- 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) {
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);
}
($inventory_accno_id) = $dbh->selectrow_array($query);
}