allow editing the suffix itself

This commit is contained in:
Roland Gruber 2007-10-28 13:47:04 +00:00
parent 11acadddd1
commit ed125d96c6
1 changed files with 4 additions and 0 deletions

View File

@ -1071,6 +1071,10 @@ class accountContainer {
if ($this->dn == $suffix) $options_selected = array($suffix);
$suffixes[] = $suffix;
}
if (!in_array($this->dn, $suffixes)) {
$suffixes[] = $this->dn;
$options_selected = array($this->dn);
}
$return[] = array(
0 => array('kind' => 'text', 'text' => _('Suffix')),
1 => array('kind' => 'select', 'name' => 'suffix', 'options' => $suffixes, 'options_selected' => $options_selected, 'noSorting' => true),