Commit c96a2a73 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

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

parent 4e50bcaa
......@@ -813,8 +813,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]);
......
Markdown is supported
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