diff options
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-x | editusers.cgi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editusers.cgi b/editusers.cgi index abe4b6194..f83a64984 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -323,6 +323,7 @@ if ($action eq 'list') { $query = "SELECT login_name,realname,disabledtext " . "FROM profiles WHERE " . $::FORM{'query'} . " ORDER BY login_name"; } elsif (exists $::FORM{'group'}) { + detaint_natural($::FORM{'group'}); $query = "SELECT DISTINCT login_name,realname,disabledtext " . "FROM profiles, user_group_map WHERE profiles.userid = user_group_map.user_id AND group_id=" . $::FORM{'group'} . " ORDER BY login_name"; |