execute should have default args arg

git-svn-id: file:///home/shish/svn/shimmie2/trunk@133 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-05-23 23:26:11 +00:00
parent 83ab72332e
commit f91d777045

View file

@ -56,7 +56,7 @@ class Database {
}
}
public function execute($query, $args) {
public function execute($query, $args=array()) {
$result = $this->db->Execute($query, $args);
if($result === False) {
print "SQL Error: " . $this->db->ErrorMsg() . "<br>";