Minor SearchType fix
authorLaury GvR <laury@gaslightmedia.com>
Thu, 18 Dec 2014 22:00:38 +0000 (17:00 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 18 Dec 2014 22:00:38 +0000 (17:00 -0500)
functions.php

index cd87b93..f27dec6 100755 (executable)
@@ -59,7 +59,7 @@ function glm_page_menu($parent = 0, $class = '')
 
 
 function SearchFilter($query) {
-    if(isset($_GET['search-type'])) {
+    if(isset($_GET['searchType'])) {
         $searchType = $_GET['searchType'];
         if ($searchType == 'blog' && !is_admin()) {
             $query->set('post_type', 'post');