This commit is contained in:
Roly Rudy Gutierrez Pinto
2015-12-10 15:42:32 -04:00
parent 739bcdf698
commit 5cd9d86111

View File

@@ -1008,7 +1008,11 @@ class Cases
}
if ((is_array($FieldsDifference)) && (count($FieldsDifference) > 0)) {
$oCurrentDynaform = new Dynaform();
$currentDynaform = $oCurrentDynaform->Load($Fields['CURRENT_DYNAFORM']);
try {
$currentDynaform = $oCurrentDynaform->Load($Fields['CURRENT_DYNAFORM']);
} catch (Exception $e) {
$currentDynaform["DYN_CONTENT"] = "";
}
//There are changes
$Fields['APP_STATUS'] = (isset($Fields['APP_STATUS'])) ? $Fields['APP_STATUS'] : $FieldsBefore['APP_STATUS'];
$appHistory = new AppHistory();