Commit ba3cf0dc authored by tbrehm's avatar tbrehm
Browse files

Fixed y bug in replication that affected the deletion of data records.

parent 12e3ba49
......@@ -129,7 +129,7 @@ class modules {
if($d["action"] == 'd') {
$idx = explode(":",$d["dbidx"]);
$sql = "DELETE FROM $d[dbtable] SET ";
$sql = "DELETE FROM $d[dbtable] ";
$sql .= " WHERE $idx[0] = $idx[1]";
$app->db->query($sql);
if($app->db->errorNumber > 0) {
......
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