Browse Source

Fixed issue with the new CRON execution pattern

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2611 a333f486-631f-4898-b8df-5754b55c2be0
romainq 12 năm trước cách đây
mục cha
commit
bc6ae90a22
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      core/attributedef.class.inc.php

+ 1 - 1
core/attributedef.class.inc.php

@@ -1214,7 +1214,7 @@ class AttributeDecimal extends AttributeDBField
 	public function MakeRealValue($proposedValue, $oHostObj)
 	{
 		if (is_null($proposedValue)) return null;
-		if ($proposedValue == '') return null;
+		if ($proposedValue === '') return null;
 		return (string)$proposedValue;
 	}