#8184 Fixed tactical get data with secondary group
This commit is contained in:
parent
c903942c7b
commit
b5e5294053
|
@ -332,7 +332,7 @@ function tactical_get_data($id_user=false, $user_strict=false, $acltags, $return
|
||||||
|
|
||||||
$list['_server_sanity_'] = format_numeric((100 - $list['_module_sanity_']), 1);
|
$list['_server_sanity_'] = format_numeric((100 - $list['_module_sanity_']), 1);
|
||||||
} else {
|
} else {
|
||||||
if (users_is_admin()) {
|
if (users_is_admin() || users_can_manage_group_all()) {
|
||||||
$result_list = db_get_all_rows_sql(
|
$result_list = db_get_all_rows_sql(
|
||||||
sprintf(
|
sprintf(
|
||||||
'SELECT COUNT(*) as contado, estado FROM tagente_estado tae
|
'SELECT COUNT(*) as contado, estado FROM tagente_estado tae
|
||||||
|
|
Loading…
Reference in New Issue