This commit is contained in:
katagia 2003-11-08 11:32:52 +00:00
parent 58a1b21207
commit 78145c6288
2 changed files with 2 additions and 1 deletions

View File

@ -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;
}

View File

@ -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;
}