This commit is contained in:
parent
58a1b21207
commit
78145c6288
|
@ -602,7 +602,7 @@ function findgroups() {
|
||||||
foreach ($groups as $group) {
|
foreach ($groups as $group) {
|
||||||
$return[] = $group['cn'];
|
$return[] = $group['cn'];
|
||||||
}
|
}
|
||||||
sort ($return, SORT_STRING);
|
if (is_array($return)) sort ($return, SORT_STRING);
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -107,6 +107,7 @@ if (isset($_GET['DN']) && $_GET['DN']!='') {
|
||||||
"</head><body>\n".
|
"</head><body>\n".
|
||||||
// Display errir-messages
|
// Display errir-messages
|
||||||
StatusMessage("ERROR", _("Can not create any users."),_("Please create a group first."));
|
StatusMessage("ERROR", _("Can not create any users."),_("Please create a group first."));
|
||||||
|
echo "<a href=../lists/listusers.php>"._("Back to userlist")."</a>\n";
|
||||||
echo "</body></html>";
|
echo "</body></html>";
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue