mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
fixed bug in column_data_implode: numerical keys where used if $only===true
This commit is contained in:
parent
f043f76be2
commit
4169bd99e1
@ -1151,7 +1151,8 @@
|
||||
$keys = $values = array();
|
||||
foreach($array as $key => $data)
|
||||
{
|
||||
if (is_int($key) || !$only || $only === True && isset($column_definitions[$key]) || is_array($only) && in_array($key,$only))
|
||||
if (is_int($key) && $only === false || !$only || $only === True && isset($column_definitions[$key]) ||
|
||||
is_array($only) && in_array($key,$only))
|
||||
{
|
||||
$keys[] = $this->name_quote($key);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user