2013-04-16 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/group_list.php: fixed notice PHP. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7996 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
ca9f82f4fd
commit
08ca8ae62e
|
@ -1,3 +1,7 @@
|
|||
2013-04-16 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/groups/group_list.php: fixed notice PHP.
|
||||
|
||||
2013-04-16 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/db/mysql.php: Fix a bug with the dbresource in the
|
||||
|
|
|
@ -329,7 +329,12 @@ if (!empty($groups)) {
|
|||
$symbol = '+';
|
||||
}
|
||||
|
||||
if ($group['hash_branch']) {
|
||||
$group_hash_branch = false;
|
||||
if (isset($group['hash_branch'])) {
|
||||
$group_hash_branch = $group['hash_branch'];
|
||||
}
|
||||
|
||||
if ($group_hash_branch) {
|
||||
$data[0] = '<strong>'.$tabulation . ' ' .
|
||||
'<a href="javascript: showBranch(' . $group['id_grupo'] .
|
||||
', ' . $group['parent'] . ');" title="' . __('Show branch children') .
|
||||
|
@ -337,7 +342,7 @@ if (!empty($groups)) {
|
|||
$symbol . '</span> '. ui_print_truncate_text($group['nombre']) . '</a></strong>';
|
||||
}
|
||||
else {
|
||||
$data[0] = '<strong>'.$tabulation . ' ' . ui_print_truncate_text($group['nombre']) . '</strong>';
|
||||
$data[0] = '<strong>' . $tabulation . ' ' . ui_print_truncate_text($group['nombre']) . '</strong>';
|
||||
}
|
||||
$data[1] = $group['id_grupo'];
|
||||
$data[2] = ui_print_group_icon($group['id_grupo'], true);
|
||||
|
|
Loading…
Reference in New Issue