diff --git a/lib/WebGUI/SQL.pm b/lib/WebGUI/SQL.pm index 3b103d34c..07ac7ce36 100644 --- a/lib/WebGUI/SQL.pm +++ b/lib/WebGUI/SQL.pm @@ -39,7 +39,7 @@ Package for interfacing with SQL databases. This package implements Perl DBI fun use WebGUI::SQL; my $sth = WebGUI::SQL->prepare($sql); - $sth->execute(@values); + $sth->execute([ @values ]); $sth = WebGUI::SQL->read($sql); $sth = WebGUI::SQL->unconditionalRead($sql);