git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2735 a333f486-631f-4898-b8df-5754b55c2be0
@@ -1237,7 +1237,7 @@ class AttributeDecimal extends AttributeDBField
public function ScalarToSQL($value)
{
assert(is_null($value) || preg_match('/'.$this->GetValidationPattern().'/', $value));
- return (string)$value; // treated as a string
+ return $value; // null or string
}