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
4d951e7b
Commit
4d951e7b
authored
Mar 27, 2019
by
Côme Chilliet
Browse files
🚑
fix(management) Fix management configuration dialog
parent
5f20f60f
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/management/class_ManagementConfigurationDialog.inc
View file @
4d951e7b
...
...
@@ -173,8 +173,9 @@ class ManagementConfigurationDialog extends simplePlugin
$this
->
parent
->
setColumnConfiguration
(
$columnInfos
);
if
(
$this
->
saveInLdap
)
{
$errors
=
$config
->
updateManagementConfig
(
get_class
(
$this
->
parent
),
$columnInfos
);
msg_dialog
::
displayChecks
(
$errors
);
return
$config
->
updateManagementConfig
(
get_class
(
$this
->
parent
),
$columnInfos
);
}
return
[];
}
}
include/management/class_management.inc
View file @
4d951e7b
...
...
@@ -857,10 +857,15 @@ class management
msg_dialog
::
displayChecks
(
$msgs
);
return
;
}
else
{
$this
->
dialogObject
->
save
();
@
DEBUG
(
DEBUG_TRACE
,
__LINE__
,
__FUNCTION__
,
__FILE__
,
$this
->
currentDns
,
'Dialog saved'
);
$this
->
remove_lock
();
$this
->
closeDialogs
();
$errors
=
$this
->
dialogObject
->
save
();
if
(
count
(
$errors
))
{
msg_dialog
::
displayChecks
(
$errors
);
return
;
}
else
{
@
DEBUG
(
DEBUG_TRACE
,
__LINE__
,
__FUNCTION__
,
__FILE__
,
$this
->
currentDns
,
'Dialog saved'
);
$this
->
remove_lock
();
$this
->
closeDialogs
();
}
}
}
}
...
...
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