added quoting for float and decimal types, prevents SQL errors

This commit is contained in:
Ralf Becker 2006-12-08 10:16:00 +00:00
parent c0c28b5af1
commit 05cd4a36d9

View File

@ -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())
{