Fix category tree sorting

This commit is contained in:
Nathan Gray 2014-07-08 23:15:49 +00:00
parent c11785b2db
commit 48016d16c0

View File

@ -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,