fixed delete function
This commit is contained in:
parent
fe3f5a2934
commit
7b5ba05f37
|
|
@ -58,7 +58,7 @@ class DatabaseTable {
|
|||
$values = [
|
||||
'value' => $value
|
||||
];
|
||||
startDB()->prepare('DELETE FROM '. $this->$table .' WHERE '. $column .' = :value')->execute($values);
|
||||
$this->startDB()->prepare('DELETE FROM '. $this->table .' WHERE '. $column .' = :value')->execute($values);
|
||||
}
|
||||
|
||||
public function save($record) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue