Commit bf2e403d authored by Côme Chilliet's avatar Côme Chilliet Committed by Benoit Mortier
Browse files

New fix for the sonar spotted bug, $i was conflicting as well, using $j now, should be fine.

Showing with 2 additions and 2 deletions
+2 -2
......@@ -814,8 +814,8 @@ class Step_Migrate extends setupStep
if (isset($ret['gosaAclTemplate'])) {
$cnt = $ret['gosaAclTemplate']['count'];
for ($i = 0; $i < $cnt; $i++) {
$a_str = $ret['gosaAclTemplate'][$i];
for ($j = 0; $j < $cnt; $j++) {
$a_str = $ret['gosaAclTemplate'][$j];
if (preg_match("/^[0-9]*:psub:/", $a_str) && preg_match("/:all;cmdrw$/", $a_str)) {
$members = explode(",", $tmp[3]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment