X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDBUtils.pm;h=4a4ac25c19283c91c2765ed5d9c6c9cafdb15027;hb=f9c7abfae65b79945beb7e9260942bc94876248a;hp=e0a362f4edf3c21b3e4f92635132aa2a1e0b043d;hpb=33ba9950d4d7a83f187fdbe9edfbeee9cb3f5611;p=kivitendo-erp.git 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/;