adding quoting to output of hidden params in moodle_url

This commit is contained in:
jamiesensei
2007-05-20 17:05:27 +00:00
parent 3a3c454ede
commit 83bc64dba4
+1
View File
@@ -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";
}
}