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

Fixes #5057 Change error message for a better one when a schema is missing

Showing with 1 addition and 1 deletion
+1 -1
......@@ -194,7 +194,7 @@ class Step_Ldap extends setupStep
foreach ($checked as $check) {
if (!$check['STATUS']) {
if ($check['IS_MUST_HAVE']) {
$error[] = $check['MSG'];
$error[] = sprintf(_("%s\nSchema \"%s\": %s"), $check['MSG'], $check['SCHEMA_FILE'], $check['INFO']);
} else {
msg_dialog::display(_('Warning'), sprintf(_("%s\nSchema \"%s\": %s"), $check['MSG'], $check['SCHEMA_FILE'], $check['INFO']), WARNING_DIALOG);
}
......
  • bmortier @bmortier

    mentioned in issue #1613

    By Côme Chilliet on 2017-09-02T15:32:39 (imported from GitLab)

    ·

    mentioned in issue #1613

    By Côme Chilliet on 2017-09-02T15:32:39 (imported from GitLab)

    Toggle commit list
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