From 2c16686c07b2be5ff4dfa9f5e315a0060f8eff57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come.chilliet@fusiondirectory.org>
Date: Thu, 28 Nov 2019 11:34:03 +0100
Subject: [PATCH] :ambulance: fix(userinfo) Small Sonar fix

Not ideal, vars in userinfo would need a lot of renaming to make it
 easier to understand.

issue #6054
---
 include/class_userinfo.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/class_userinfo.inc b/include/class_userinfo.inc
index 59a6ea7df..cfdb96634 100644
--- a/include/class_userinfo.inc
+++ b/include/class_userinfo.inc
@@ -530,7 +530,7 @@ class userinfo
       $adn = preg_replace("/^[^,]*+,/", "", $adn);
     }
     if (isset($this->ACLperPath[$adn])) {
-      $ACL = $this->ACLperPath[$adn];
+      $ACLs = $this->ACLperPath[$adn];
     } else {
       $ACL_CACHE["$dn+$object+$attribute"] = '';
       return '';
@@ -575,10 +575,10 @@ class userinfo
         $cpath = $element.','.$cpath;
       }
 
-      if (isset($ACL[$cpath])) {
+      if (isset($ACLs[$cpath])) {
 
         /* Inspect this ACL, place the result into ACL */
-        foreach ($ACL[$cpath] as $subacl) {
+        foreach ($ACLs[$cpath] as $subacl) {
 
           /* Reset? Just clean the ACL and turn over to the next one... */
           if ($subacl['type'] == 'reset') {
-- 
GitLab