From 49a6083b8bfde8531adee97ebd80c3a631812394 Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 12 Sep 2015 14:48:16 +0100 Subject: [PATCH] fix --- core/util.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/util.inc.php b/core/util.inc.php index e1624c25..90d60e91 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -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; }