reverting changes to test bug fix
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 2 Feb 2016 13:43:08 +0000 (08:43 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 2 Feb 2016 13:43:08 +0000 (08:43 -0500)
index.php

index 736c380..8a60b58 100644 (file)
--- a/index.php
+++ b/index.php
@@ -459,8 +459,9 @@ function michsci_shortcode($atts)
     } else if ( $cat_id = filter_var( $_REQUEST['category'], FILTER_VALIDATE_INT ) ) {
         michsci_list_categories($cat_id);
     } else if ( !$catid_id && !$product_id ) {
-        $text_query = filter_var($_REQUEST['tsearch'], FILTER_SANITIZE_STRING);
-        strip_tags($text_query);
+        $text_query = $_REQUEST['tsearch'];
+//        $text_query = filter_var($_REQUEST['tsearch'], FILTER_SANITIZE_STRING);
+//        strip_tags($text_query);
         if(isset($text_query)){
             setcookie("search", "true",time()+1, "/" );