Small fix for bulk modify: non-homogeneous fields may be mandatory...

SVN:trunk[1626]
This commit is contained in:
Denis Flaven
2011-10-03 13:56:49 +00:00
parent cbafb5f1d1
commit c15e4ffb10

View File

@@ -842,7 +842,7 @@ try
$currValue = $oObj->Get($sAttCode);
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(!array_key_exists($currValue, $aValues[$sAttCode]))