mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
#673 Could not create a physical interface with default value for the speed (+ definitive corruption of the DB for the device on which the interface is being created!) -reintegrated from trunk
SVN:2.0[2736]
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user