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

🚑 fix(management) Fix management configuration dialog

parent 5f20f60f
......@@ -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 [];
}
}
......@@ -857,13 +857,18 @@ class management
msg_dialog::displayChecks($msgs);
return;
} else {
$this->dialogObject->save();
$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();
}
}
}
}
/*!
* \brief Save object modifications and keep dialogs opened
......
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