mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 21:09:16 +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();
|
$keys = $values = array();
|
||||||
foreach($array as $key => $data)
|
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);
|
$keys[] = $this->name_quote($key);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user