Skip to content
Snippets Groups Projects
Commit 73beadaa authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

do not modify the array passed in as reference

parent 28649d1f
No related branches found
No related tags found
No related merge requests found
......@@ -73,8 +73,8 @@ sub get_all_x
if (defined ($where))
{
# print "where: ", Dumper ($where) if ($show_query);
$ss .= ' WHERE ' . shift (@$where);
@v= @$where;
@v= @$where; # copy first!
$ss .= ' WHERE ' . shift (@v);
}
if ($show_query)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment