fixed error in mysql to login user without AR permisions

This commit is contained in:
m-lopez-f 2015-01-22 15:36:30 +01:00
parent dffce9c2dc
commit 566aa876c3
1 changed files with 1 additions and 1 deletions

View File

@ -2166,7 +2166,7 @@ function get_news($arguments) {
$modal = get_argument ('modal', $arguments, false);
$limit = get_argument ('limit', $arguments, 99999999);
$id_group = array_keys(users_get_groups($id_user, 'AR', true));
$id_group = array_keys(users_get_groups($id_user, false, true));
$id_group = implode(',',$id_group);
$current_datetime = date('Y-m-d H:i:s', time());
$modal = (int) $modal;