diff --git a/interface/lib/classes/tform_actions.inc.php b/interface/lib/classes/tform_actions.inc.php index df00265ca574fc72fdd2b77c74ead879b7338269..82d747fc5452b9fe22197729744aad6719dc0861 100644 --- a/interface/lib/classes/tform_actions.inc.php +++ b/interface/lib/classes/tform_actions.inc.php @@ -111,9 +111,7 @@ class tform_actions { $sql = $app->tform->getSQL($this->dataRecord, $app->tform->getCurrentTab(), 'UPDATE', $this->id, $ext_where); if($app->tform->errorMessage == '') { - if($app->tform->formDef['db_history'] == 'yes') { - $this->oldDataRecord = $app->tform->getDataRecord($this->id); - } + $this->oldDataRecord = $app->tform->getDataRecord($this->id); // Save record in database $this->onUpdateSave($sql);