This commit is contained in:
parent
58a1b21207
commit
78145c6288
|
@ -602,7 +602,7 @@ function findgroups() {
|
|||
foreach ($groups as $group) {
|
||||
$return[] = $group['cn'];
|
||||
}
|
||||
sort ($return, SORT_STRING);
|
||||
if (is_array($return)) sort ($return, SORT_STRING);
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
|
|
@ -107,6 +107,7 @@ if (isset($_GET['DN']) && $_GET['DN']!='') {
|
|||
"</head><body>\n".
|
||||
// Display errir-messages
|
||||
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>";
|
||||
die;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue