diff options
| author | Greg Roach <fisharebest@gmail.com> | 2013-09-11 06:51:22 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2013-09-11 06:51:22 +0100 |
| commit | c8050a2f8c30ec68d09f2ac3975e8fd401e73b49 (patch) | |
| tree | 151ce8b8f450e16ee75549499d174f0b99f6c991 /library/WT/Controller | |
| parent | c715fc95c055a63778fdca86497233f9748d4e71 (diff) | |
| download | webtrees-c8050a2f8c30ec68d09f2ac3975e8fd401e73b49.tar.gz webtrees-c8050a2f8c30ec68d09f2ac3975e8fd401e73b49.tar.bz2 webtrees-c8050a2f8c30ec68d09f2ac3975e8fd401e73b49.zip | |
#1222337 - General search page broken (latest 1.5.0)
Diffstat (limited to 'library/WT/Controller')
| -rw-r--r-- | library/WT/Controller/Search.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/WT/Controller/Search.php b/library/WT/Controller/Search.php index 47f5ffed96..fe649db6b0 100644 --- a/library/WT/Controller/Search.php +++ b/library/WT/Controller/Search.php @@ -80,9 +80,9 @@ class WT_Controller_Search extends WT_Controller_Page { parent::__construct(); // $action comes from $_GET (menus) or $_POST (form submission) - $this->action = WT_Filter::get('action', 'advanced|general|soundex|replace'); + $this->action = WT_Filter::post('action', 'advanced|general|soundex|replace'); if (!$this->action) { - $this->action = WT_Filter::post('action', 'advanced|general|soundex|replace'); + $this->action = WT_Filter::get('action', 'advanced|general|soundex|replace', 'general'); } $topsearch = WT_Filter::postBool('topsearch'); |
