fixed wrong comparison with NULL in column_data_implode

This commit is contained in:
Ralf Becker 2005-02-27 21:27:36 +00:00
parent d9ba5f9ab8
commit 0af62b80b3

View File

@ -1126,6 +1126,10 @@
{
$values[] = $data;
}
elseif ($use_key === True && !$not_null && is_null($data))
{
$values[] = $this->name_quote($key) .' IS NULL';
}
else
{
$values[] = ($use_key===True ? $this->name_quote($key) . '=' : '') . $this->quote($data,$column_type,$not_null);