From: tjhunt Date: Fri, 25 Jul 2008 16:20:46 +0000 (+0000) Subject: MDL-15813 - correction - add missing 'return'. Again, Jamie, if you see this, please... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5762b36e0d57b32382df2a978e064458344818fe;p=moodle.git MDL-15813 - correction - add missing 'return'. Again, Jamie, if you see this, please review. --- diff --git a/lib/weblib.php b/lib/weblib.php index f75f8df7c7..9daa71ca2d 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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]; } }