This commit is contained in:
Shish 2015-09-12 14:48:16 +01:00
parent 83a1336b76
commit 49a6083b8b

View file

@ -303,7 +303,7 @@ function validate_input($inputs) {
else if(in_array('user_class', $flags)) {
global $_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;
}