]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15813 - correction - add missing 'return'. Again, Jamie, if you see this, please...
authortjhunt <tjhunt>
Fri, 25 Jul 2008 16:20:46 +0000 (16:20 +0000)
committertjhunt <tjhunt>
Fri, 25 Jul 2008 16:20:46 +0000 (16:20 +0000)
lib/weblib.php

index f75f8df7c7107a1283ca9e39c9b4a5f72725f433..9daa71ca2dd0cf9aec936cbf1c6125a4d3d7108f 100644 (file)
@@ -385,7 +385,7 @@ class moodle_url {
         if (!is_null($param)){
             $this->params = array($paramname => $param) + $this->params;
         } else {
-            $this->params[$paramname];
+            return $this->params[$paramname];
         }
     }