From 49ce0054e1fc4379b78b4d5dff506b1c5a03e548 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 16 Aug 2010 11:09:05 +0200 Subject: [PATCH] dump_query Parameter initialisieren. --- SL/DBUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/; -- 2.20.1