diff --git a/core/control/HTTPRequest.php b/core/control/HTTPRequest.php index 7dffc05a5..796704308 100644 --- a/core/control/HTTPRequest.php +++ b/core/control/HTTPRequest.php @@ -385,10 +385,8 @@ class HTTPRequest extends Object implements ArrayAccess { * @return string Value of the URL parameter (if found) */ function param($name) { - if(isset($this->allParams[$name])) - return $this->allParams[$name]; - else - return null; + if(isset($this->allParams[$name])) return $this->allParams[$name]; + else return null; } /**