From: Sven Schöling Date: Mon, 16 Aug 2010 09:09:05 +0000 (+0200) Subject: dump_query Parameter initialisieren. X-Git-Tag: release-2.6.2beta1~183 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=49ce0054e1fc4379b78b4d5dff506b1c5a03e548;p=kivitendo-erp.git dump_query Parameter initialisieren. --- diff --git a/SL/DBUtils.pm b/SL/DBUtils.pm index e0a362f4e..4a4ac25c1 100644 --- a/SL/DBUtils.pm +++ b/SL/DBUtils.pm @@ -84,7 +84,7 @@ sub dump_query { } while ($query =~ /\?/) { - my $value = shift(@_); + my $value = shift || ''; $value =~ s/\'/\\\'/g; $value = "'${value}'"; $query =~ s/\?/$value/;