mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
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))
|
||||
{
|
||||
$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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user