Permalink
Browse files

Fixed a bug introduced somewhere down the late modifications..

  • Loading branch information...
1 parent 4db516b commit 2f06efca9a16c78fdd2c4583649a42d57b1dd0b4 scyrma committed Mar 13, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
@@ -569,7 +569,7 @@ function clean_param($param, $type) {
$param = preg_replace('/\s+/', ' ', $param);
$textlib = textlib_get_instance();
$param = $textlib->substr(trim($param), 0, TAG_MAX_LENGTH);
- return $param;
+ return addslashes($param);
case PARAM_TAGLIST:

0 comments on commit 2f06efc

Please sign in to comment.