Permalink
Browse files

MDL-30448 fix url param problems

  • Loading branch information...
1 parent b8321ca commit 5e92762ffcf77154eea9a9cb6f5853815e193146 @skodak skodak committed Nov 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/url/locallib.php
View
@@ -121,7 +121,7 @@ function url_get_full_url($url, $cm, $course, $config=null) {
if (stripos($fullurl, 'teamspeak://') === 0) {
$fullurl = $fullurl.'?'.implode('?', $parameters);
} else {
- $join = (strpos($fullurl->externalurl, '?') === false) ? '?' : '&';
+ $join = (strpos($fullurl, '?') === false) ? '?' : '&';
$fullurl = $fullurl.$join.implode('&', $parameters);
}
}

0 comments on commit 5e92762

Please sign in to comment.