adding quoting to output of hidden params in moodle_url
This commit is contained in:
@@ -388,6 +388,7 @@ class moodle_url {
|
||||
$str = '';
|
||||
foreach ($this->params as $key => $val){
|
||||
if (FALSE === array_search($key, $exclude)) {
|
||||
$val = s($val);
|
||||
$str.= "$tabindent<input type=\"hidden\" name=\"$key\" value=\"$val\" />\n";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user