From 515a8ed591bbca5f5e9704befa1788b8195c8e26 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 2 Feb 2016 08:43:08 -0500 Subject: [PATCH] reverting changes to test bug fix --- index.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 736c380..8a60b58 100644 --- 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, "/" ); -- 2.17.1