From 91d388c8b3692fa4ff7ead15f23fcf3630731017 Mon Sep 17 00:00:00 2001 From: "marcos.alconada" Date: Mon, 27 May 2019 17:47:45 +0200 Subject: [PATCH] Changed for create new user with advanced config enabled and forced automaticly disabled --- pandora_console/include/auth/mysql.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/auth/mysql.php b/pandora_console/include/auth/mysql.php index 1ab383b672..461f449184 100644 --- a/pandora_console/include/auth/mysql.php +++ b/pandora_console/include/auth/mysql.php @@ -1337,8 +1337,9 @@ function fill_permissions_ldap($sr) 'tags' => implode(',', $ldap_adv_perm['tags']), 'no_hierarchy' => (bool) $ldap_adv_perm['no_hierarchy'] ? 1 : 0, ]; - return $permissions; } + + return $permissions; } foreach ($result as $perms) {