forked from extern/egroupware
added quoting for float and decimal types, prevents SQL errors
This commit is contained in:
parent
c0c28b5af1
commit
05cd4a36d9
@ -1157,6 +1157,9 @@
|
||||
return $value ? 1 : 0;
|
||||
}
|
||||
return $value ? 'true' : 'false';
|
||||
case 'float':
|
||||
case 'decimal':
|
||||
return (double) $value;
|
||||
}
|
||||
if (!$this->Link_ID && !$this->connect())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user