Commit 2383f0a6 authored by Konstantinos Xenos's avatar Konstantinos Xenos 💬
Browse files

and a 0

parent a220edb9
......@@ -141,7 +141,7 @@ class Db_object
$table = static::$db_table;
$tidy_properties = implode(",", array_keys($properties));
$tidy_values = implode("','", array_values($properties));
$tidy_values['id'] = null;
$tidy_values[0] = null;
$sql = "INSERT INTO $table ($tidy_properties) VALUES ('{$tidy_values}')";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment