From 4a145c4e1b66688a585c104b260938493bded5b0 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 27 Nov 2008 04:41:48 +0000 Subject: [PATCH] MINOR Code formatting conventions in HTTPRequest->param() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@66819 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/control/HTTPRequest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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; } /**