diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php index 0af669fe3..24ef91117 100644 --- a/core/attributedef.class.inc.php +++ b/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; }