projects
/
WP-Plugins
/
michsci-products.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eb592d
)
reverting changes
author
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 2 Feb 2016 14:27:52 +0000
(09:27 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 2 Feb 2016 14:27:52 +0000
(09:27 -0500)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
a931c2f
..
91f3198
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-464,13
+464,10
@@
function michsci_shortcode($atts)
// strip_tags($text_query);
if(isset($_REQUEST['tsearch'])){
setcookie("search", "true",time()+1, "/" );
- michsci_list_products($text_query);
-
} else {
setcookie("search", "null",time()+1, "/" );
- michsci_list_products();
}
-
+ michsci_list_products($text_query);
michsci_list_categories();
}