mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Now the groups has their icon
This commit is contained in:
parent
90deab0e3b
commit
804b7743fc
@ -77,7 +77,7 @@ class Tree {
|
||||
// First filter by name and father
|
||||
$groups = db_get_all_rows_filter('tgrupo',
|
||||
$filter,
|
||||
array('id_grupo', 'nombre'));
|
||||
array('id_grupo', 'nombre', 'icon'));
|
||||
if (empty($groups))
|
||||
$groups = array();
|
||||
|
||||
@ -200,6 +200,7 @@ class Tree {
|
||||
$data['id'] = $group['id_grupo'];
|
||||
$data['type'] = 'group';
|
||||
$data['name'] = $group['nombre'];
|
||||
$data['icon'] = $group['icon'];
|
||||
$data['searchChildren'] = $group['searchChildren'];
|
||||
$data['searchCounters'] = $group['searchCounters'];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user