Commit 52bc49c9 authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#918 - Cron file not create/update on cron insert but only on cron update

parent 91609af0
......@@ -195,7 +195,7 @@ class tform_actions {
}
$this->onAfterInsert();
// Write data history (sys_datalog)
if($app->tform->formDef['db_history'] == 'yes') {
$new_data_record = $app->tform->getDataRecord($this->id);
......
......@@ -168,8 +168,9 @@ class page_action extends tform_actions {
if($has_error == true) {
parent::onError();
exit;
}
else parent::onInsertSave($sql);
} else {
return parent::onInsertSave($sql);
}
}
function onAfterInsert() {
......
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