fix
This commit is contained in:
parent
83a1336b76
commit
49a6083b8b
@ -303,7 +303,7 @@ function validate_input($inputs) {
|
|||||||
else if(in_array('user_class', $flags)) {
|
else if(in_array('user_class', $flags)) {
|
||||||
global $_shm_user_classes;
|
global $_shm_user_classes;
|
||||||
if(!array_key_exists($value, $_shm_user_classes)) {
|
if(!array_key_exists($value, $_shm_user_classes)) {
|
||||||
throw new InvalidInput("Invalid user class: ".html_escape($class));
|
throw new InvalidInput("Invalid user class: ".html_escape($value));
|
||||||
}
|
}
|
||||||
$outputs[$key] = $value;
|
$outputs[$key] = $value;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user