We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91609af commit 52bc49cCopy full SHA for 52bc49c
interface/lib/classes/tform_actions.inc.php
@@ -195,7 +195,7 @@ function onInsert() {
195
}
196
197
$this->onAfterInsert();
198
-
+
199
// Write data history (sys_datalog)
200
if($app->tform->formDef['db_history'] == 'yes') {
201
$new_data_record = $app->tform->getDataRecord($this->id);
interface/web/sites/cron_edit.php
@@ -168,8 +168,9 @@ function onInsertSave($sql) {
168
if($has_error == true) {
169
parent::onError();
170
exit;
171
- }
172
- else parent::onInsertSave($sql);
+ } else {
+ return parent::onInsertSave($sql);
173
+ }
174
175
176
function onAfterInsert() {
0 commit comments