now that the old db-classes are gone, we can put function name_quote to use.

This commit is contained in:
Carsten Wolff 2004-07-22 08:22:52 +00:00
parent ac57bee771
commit 42142322b4

View File

@ -981,7 +981,7 @@
{
if (!$only || $only === True && isset($column_definitions[$key]) || is_array($only) && in_array($key,$only))
{
$keys[] = $key;
$keys[] = $this->name_quote($key);
$column_type = is_array($column_definitions) ? @$column_definitions[$key]['type'] : False;
@ -999,7 +999,7 @@
}
else
{
$values[] = ($use_key===True ? $key.'=' : '') . $this->quote($data,$column_type);
$values[] = ($use_key===True ? $this->name_quote($key) . '=' : '') . $this->quote($data,$column_type);
}
}
}