mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Fix category tree sorting
This commit is contained in:
parent
c11785b2db
commit
48016d16c0
@ -361,7 +361,7 @@ class etemplate_widget_tree extends etemplate_widget
|
||||
$cat2path[$cat['id']] = $path = ($cat['parent'] ? $cat2path[$cat['parent']].'/' : '').(string)$cat['id'];
|
||||
|
||||
// 1D array
|
||||
$options[$cat['id']] = $cat + array(
|
||||
$options[] = $cat + array(
|
||||
'text' => $s,
|
||||
'path' => $path,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user