Commit e4b1e7b4 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3817 Added a warning when groups in ugly mode are about to lose data

Showing with 5 additions and 0 deletions
+5 -0
......@@ -96,6 +96,11 @@ class group extends plugin
}
$this->memberUid= $tmp;
ksort ($this->memberUid);
if (($config->get_cfg_value("rfc2307bis") == "TRUE") &&
isset($this->attrs['member']) &&
($this->attrs['member']['count'] !== $this->attrs['memberUid']['count'])) {
msg_dialog::display(_('Inconsitent data'), _('The member and memberUid fields of this groups are incoherent. FusionDirectory will use members from memberUid values upon saving. Cancel if you do not want this.'), WARNING_DIALOG);
}
}
/* Save gidNumber for later use */
......
  • bmortier @bmortier

    mentioned in issue #1261

    By bmortier on 2017-09-02T15:19:52 (imported from GitLab)

    ·

    mentioned in issue #1261

    By bmortier on 2017-09-02T15:19:52 (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