Skip to content
Browse files

MDL-9734 fix for clean_param PARAM_LOCALURL bug

  • Loading branch information...
1 parent c417f26 commit aa38cccbdf100bd51739432fd6d4ab005d2e8781 jamiesensei committed May 27, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
2 lib/moodlelib.php
@@ -484,7 +484,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 aa38ccc

Please sign in to comment.
Something went wrong with that request. Please try again.