forked from extern/egroupware
now that the old db-classes are gone, we can put function name_quote to use.
This commit is contained in:
parent
ac57bee771
commit
42142322b4
@ -981,7 +981,7 @@
|
|||||||
{
|
{
|
||||||
if (!$only || $only === True && isset($column_definitions[$key]) || is_array($only) && in_array($key,$only))
|
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;
|
$column_type = is_array($column_definitions) ? @$column_definitions[$key]['type'] : False;
|
||||||
|
|
||||||
@ -999,7 +999,7 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$values[] = ($use_key===True ? $key.'=' : '') . $this->quote($data,$column_type);
|
$values[] = ($use_key===True ? $this->name_quote($key) . '=' : '') . $this->quote($data,$column_type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user