Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
2df59d54
Commit
2df59d54
authored
Jan 16, 2017
by
Côme Chilliet
Browse files
Fixed bug in Migrate Step spotted by sonar
parent
789eeab9
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup/class_setupStep_Migrate.inc
View file @
2df59d54
...
...
@@ -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
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment