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

Fixed bug in Migrate Step spotted by sonar

parent 789eeab9
......@@ -813,9 +813,8 @@ class Step_Migrate extends setupStep
if (isset($ret['gosaAclTemplate'])) {
$cnt = $ret['gosaAclTemplate']['count'];
for ($e = 0; $e < $cnt; $e++) {
$a_str = $ret['gosaAclTemplate'][$e];
for ($i = 0; $i < $cnt; $i++) {
$a_str = $ret['gosaAclTemplate'][$i];
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