mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
fix error msg if group id isn't passed
This commit is contained in:
parent
3e7f22fd69
commit
b52ed03cf9
|
@ -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"]));
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user