summaryrefslogtreecommitdiff
path: root/library/WT
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-06-21 18:34:01 +0100
committerGreg Roach <fisharebest@gmail.com>2014-06-21 18:34:01 +0100
commitec6bfc786035865d378b6cbafbdd4e293c618862 (patch)
tree3360120e2dc7e1181526b46eae2d42d980731ce2 /library/WT
parent0b86f8b1c287295dac48554cefbff8a965e34604 (diff)
downloadwebtrees-ec6bfc786035865d378b6cbafbdd4e293c618862.tar.gz
webtrees-ec6bfc786035865d378b6cbafbdd4e293c618862.tar.bz2
webtrees-ec6bfc786035865d378b6cbafbdd4e293c618862.zip
#58 - do not update superglobals
Diffstat (limited to 'library/WT')
-rw-r--r--library/WT/Controller/Search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/Controller/Search.php b/library/WT/Controller/Search.php
index 0705cef371..b9bee174cf 100644
--- a/library/WT/Controller/Search.php
+++ b/library/WT/Controller/Search.php
@@ -74,7 +74,7 @@ class WT_Controller_Search extends WT_Controller_Page {
function __construct() {
parent::__construct();
- // $action comes from $_GET (menus) or $_POST (form submission)
+ // $action comes from GET (menus) or POST (form submission)
$this->action = WT_Filter::post('action', 'advanced|general|soundex|replace');
if (!$this->action) {
$this->action = WT_Filter::get('action', 'advanced|general|soundex|replace', 'general');