MDL-28345 make sure input parameters do not contain invalid utf-8 chars
This commit is contained in:
+2
-2
@@ -97,8 +97,8 @@ $table->align = array ('left', 'center', 'center');
|
||||
$state_names = note_get_state_names();
|
||||
|
||||
// the first time list hack
|
||||
if (empty($users)) {
|
||||
foreach ($_POST as $k => $v) {
|
||||
if (empty($users) and $post = data_submitted()) {
|
||||
foreach ($post as $k => $v) {
|
||||
if (preg_match('/^user(\d+)$/',$k,$m)) {
|
||||
$users[] = $m[1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user