From 5762b36e0d57b32382df2a978e064458344818fe Mon Sep 17 00:00:00 2001 From: tjhunt Date: Fri, 25 Jul 2008 16:20:46 +0000 Subject: [PATCH] MDL-15813 - correction - add missing 'return'. Again, Jamie, if you see this, please review. --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; } } -- 2.39.5