Permalink
Browse files

MDL-9734 fix for clean_param PARAM_LOCALURL bug

  • Loading branch information...
jamiesensei
jamiesensei committed May 27, 2007
1 parent 3281b7d commit a18c40a892f1878b39563562d29017766a8bcf4f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
@@ -415,7 +415,7 @@ function clean_param($param, $type) {
return $param;
case PARAM_LOCALURL: // allow http absolute, root relative and relative URLs within wwwroot
- clean_param($param, PARAM_URL);
+ $param = clean_param($param, PARAM_URL);
if (!empty($param)) {
if (preg_match(':^/:', $param)) {
// root-relative, ok!

0 comments on commit a18c40a

Please sign in to comment.