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
This commit is contained in:
Sean Harvey 2008-11-27 04:41:48 +00:00 committed by Sam Minnee
parent 322fa2a547
commit 4a145c4e1b

View File

@ -385,10 +385,8 @@ class HTTPRequest extends Object implements ArrayAccess {
* @return string Value of the URL parameter (if found) * @return string Value of the URL parameter (if found)
*/ */
function param($name) { function param($name) {
if(isset($this->allParams[$name])) if(isset($this->allParams[$name])) return $this->allParams[$name];
return $this->allParams[$name]; else return null;
else
return null;
} }
/** /**