From 566aa876c3e8dd4bbd6834ef8f6972d3caa1b8e7 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Thu, 22 Jan 2015 15:36:30 +0100 Subject: [PATCH] fixed error in mysql to login user without AR permisions --- pandora_console/include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions.php b/pandora_console/include/functions.php index 0b28d59cee..85be527390 100644 --- a/pandora_console/include/functions.php +++ b/pandora_console/include/functions.php @@ -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;