From: Anthony Talarico Date: Tue, 2 Feb 2016 13:43:08 +0000 (-0500) Subject: reverting changes to test bug fix X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=515a8ed591bbca5f5e9704befa1788b8195c8e26;p=WP-Plugins%2Fmichsci-products.git reverting changes to test bug fix --- 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, "/" );