@@ -1008,7 +1008,11 @@ class Cases
|
|||||||
}
|
}
|
||||||
if ((is_array($FieldsDifference)) && (count($FieldsDifference) > 0)) {
|
if ((is_array($FieldsDifference)) && (count($FieldsDifference) > 0)) {
|
||||||
$oCurrentDynaform = new Dynaform();
|
$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
|
//There are changes
|
||||||
$Fields['APP_STATUS'] = (isset($Fields['APP_STATUS'])) ? $Fields['APP_STATUS'] : $FieldsBefore['APP_STATUS'];
|
$Fields['APP_STATUS'] = (isset($Fields['APP_STATUS'])) ? $Fields['APP_STATUS'] : $FieldsBefore['APP_STATUS'];
|
||||||
$appHistory = new AppHistory();
|
$appHistory = new AppHistory();
|
||||||
|
|||||||
Reference in New Issue
Block a user