From 1a68aba91264ef9eaac5cccb15f7c2a264acd058 Mon Sep 17 00:00:00 2001 From: Alex Orluc <alex.orluc@maarch.org> Date: Thu, 19 Mar 2015 09:31:20 +0000 Subject: [PATCH] FIX #2067 change array role in loadDbUsergroupContent --- core/trunk/core/class/users_controler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/trunk/core/class/users_controler.php b/core/trunk/core/class/users_controler.php index f32f0da45e3..a2a732a601c 100644 --- a/core/trunk/core/class/users_controler.php +++ b/core/trunk/core/class/users_controler.php @@ -789,7 +789,7 @@ class users_controler extends ObjectControler implements ObjectControlerIF . $func->protect_string_db($userId) . "', '" . $func->protect_string_db($array[$i]['GROUP_ID']) . "', '". $func->protect_string_db($array[$i]['PRIMARY']) - . "', '" . $func->protect_string_db($array[0]['ROLE']) + . "', '" . $func->protect_string_db($array[$i]['ROLE']) . "')"; try{ self::$db->query($query); -- GitLab