fix error msg if group id isn't passed

This commit is contained in:
Uwe Steinmann 2017-12-04 12:00:53 +01:00
parent 3e7f22fd69
commit b52ed03cf9

View File

@ -34,7 +34,7 @@ if (!$user->isAdmin()) {
}
if (!isset($_GET["groupid"]) || !is_numeric($_GET["groupid"]) || intval($_GET["groupid"])<1) {
UI::exitError(getMLText("rm_group"),getMLText("invalid_user_id"));
UI::exitError(getMLText("rm_group"),getMLText("invalid_group_id"));
}
$group = $dms->getGroup(intval($_GET["groupid"]));