mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
fixed error in mysql to login user without AR permisions
This commit is contained in:
parent
dffce9c2dc
commit
ca39eba84f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user