interface/lib/classes/tform_actions.inc.php
@@ -300,6 +300,8 @@ //$this->dataRecord = $app->db->queryOneRecord("SELECT * FROM ".$liste["table"]." WHERE ".$liste["table_idx"]." = ".$this->id); $this->dataRecord = $app->tform->getDataRecord($this->id); $this->onBeforeDelete(); // Saving record to datalog when db_history enabled if($app->tform->formDef["db_history"] == 'yes') { @@ -337,6 +339,10 @@ } function onBeforeDelete() { global $app, $conf; } function onAfterDelete() { global $app, $conf; }