MDL-21400 fixed & quoting issues
authorPetr Skoda <skodak@moodle.org>
Sat, 6 Feb 2010 12:11:34 +0000 (12:11 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 6 Feb 2010 12:11:34 +0000 (12:11 +0000)
lib/ajax/ajaxlib.php

index 65c6bf9..c0bb468 100644 (file)
@@ -270,9 +270,9 @@ class page_requirements_manager {
     public function js($url) {
         $url = $this->js_fix_url($url);
         if (!isset($this->linkedrequirements[$url->out()])) {
-            $this->linkedrequirements[$url->out()] = new required_js($this, $url->out());
+            $this->linkedrequirements[$url->out(false)] = new required_js($this, $url->out(false));
         }
-        return $this->linkedrequirements[$url->out()];
+        return $this->linkedrequirements[$url->out(false)];
     }
 
     /**