|
@@ -842,7 +842,7 @@ try
|
|
$currValue = $oObj->Get($sAttCode);
|
|
$currValue = $oObj->Get($sAttCode);
|
|
if ($oAttDef instanceof AttributeCaseLog)
|
|
if ($oAttDef instanceof AttributeCaseLog)
|
|
{
|
|
{
|
|
- $currValue = '';
|
|
|
|
|
|
+ $currValue = ' '; // Don't put an empty string, in case the field would be considered as mandatory...
|
|
}
|
|
}
|
|
if (is_object($currValue)) continue; // Skip non scalar values...
|
|
if (is_object($currValue)) continue; // Skip non scalar values...
|
|
if(!array_key_exists($currValue, $aValues[$sAttCode]))
|
|
if(!array_key_exists($currValue, $aValues[$sAttCode]))
|