Skip to content
Snippets Groups Projects
Commit c7654c48 authored by Marius Burkard's avatar Marius Burkard
Browse files

Fixes #3396

parent b31c1492
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ class page_action extends tform_actions { ...@@ -55,7 +55,7 @@ class page_action extends tform_actions {
$old_record = $app->tform->getDataRecord($this->id); $old_record = $app->tform->getDataRecord($this->id);
/* we cannot use datalogDelete here, as we need to set server_id to 0 */ /* we cannot use datalogDelete here, as we need to set server_id to 0 */
$app->db->query("DELETE FROM `web_database_user` WHERE ?? = ?", $index_field, $index_value); $app->db->query("DELETE FROM `web_database_user` WHERE `database_user_id` = ?", $this->id);
$new_rec = array(); $new_rec = array();
$old_record['server_id'] = 0; $old_record['server_id'] = 0;
$app->db->datalogSave('web_database_user', 'DELETE', 'database_user_id', $this->id, $old_record, $new_rec); $app->db->datalogSave('web_database_user', 'DELETE', 'database_user_id', $this->id, $old_record, $new_rec);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment