From ec6bfc786035865d378b6cbafbdd4e293c618862 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sat, 21 Jun 2014 18:34:01 +0100 Subject: #58 - do not update superglobals --- library/WT/Controller/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/WT') 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'); -- cgit v1.3