mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
322fa2a547
commit
4a145c4e1b
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user