2010-07-19 Sergio Martin <sergio.martin@artica.es>

* include/functions_db.php: Fixed an index error of
	groups array.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-07-19 09:32:09 +00:00
parent bef3314367
commit 10e77ad3a1
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-07-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php: Fixed an index error of
groups array.
2010-07-18 Miguel de Dios <miguel.dedios@artica.es>
* include/auth/mysql.php: added function "get_users" the check to $order

View File

@ -1497,12 +1497,12 @@ function get_user_groups ($id_user = false, $privilege = "AR", $returnAllGroup =
if ($returnAllGroup) { //All group
if ($returnAllColumns) {
$groups[0] = array('id_grupo' => 0, 'nombre' => __('All'),
$groups[] = array('id_grupo' => 0, 'nombre' => __('All'),
'icon' => 'world', 'parent' => 0, 'disabled' => 0,
'custom_id' => null, 'propagate' => 0);
}
else {
$groups[0] = array('id_grupo' => 0, 'nombre' => __("All"));
$groups[] = array('id_grupo' => 0, 'nombre' => __("All"));
}
}