Bläddra i källkod

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1626 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 13 år sedan
förälder
incheckning
4a0e501b4d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      pages/UI.php

+ 1 - 1
pages/UI.php

@@ -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]))