Bugfix Incorrect object for execute
Change object for execute in SaveButtons
This commit is contained in:
parent
218e1c66ee
commit
82772eed71
|
@ -310,7 +310,7 @@ class dbinterface
|
||||||
$stmt->bindParam(':instance', $button_array['instance'],\PDO::PARAM_INT);
|
$stmt->bindParam(':instance', $button_array['instance'],\PDO::PARAM_INT);
|
||||||
$stmt->bindParam(':buttontype', $button_array['type'],\PDO::PARAM_STR);
|
$stmt->bindParam(':buttontype', $button_array['type'],\PDO::PARAM_STR);
|
||||||
$stmt->bindParam(':name', $button_array['name'],\PDO::PARAM_STR);
|
$stmt->bindParam(':name', $button_array['name'],\PDO::PARAM_STR);
|
||||||
$result= $dbh->execute();
|
$result= $stmt->execute();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'add':
|
case 'add':
|
||||||
|
|
Loading…
Reference in a new issue