From 9bb79ce1795f3ef29381a2cf774763708a7f24e4 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 2 Feb 2016 08:45:35 -0500 Subject: [PATCH] testing sanitize string --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index acb2666..4e90cc5 100644 --- a/index.php +++ b/index.php @@ -462,7 +462,7 @@ function michsci_shortcode($atts) // $text_query = $_REQUEST['tsearch']; $text_query = filter_var($_REQUEST['tsearch'], FILTER_SANITIZE_STRING); // strip_tags($text_query); - if(isset($text_query)){ + if(isset($_REQUEST['tsearch'])){ setcookie("search", "true",time()+1, "/" ); } else { -- 2.17.1