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:
140b8b6
)
changed subcat conditional
author
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 13 Jan 2016 15:01:34 +0000
(10:01 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 13 Jan 2016 15:01:34 +0000
(10:01 -0500)
views/list_products.php
patch
|
blob
|
history
diff --git
a/views/list_products.php
b/views/list_products.php
index
3e53cda
..
0ba42d7
100644
(file)
--- a/
views/list_products.php
+++ b/
views/list_products.php
@@
-5,7
+5,7
@@
echo category_description($cat_id);
$cat_children = get_term_children($cat_id, MICHSCI_CATEGORY_NAME);
?>
- <?php if(isset($_COOKIE['subcat'])
&&
$_COOKIE['subcat'] == 'subcat'){ ?>
+ <?php if(isset($_COOKIE['subcat'])
||
$_COOKIE['subcat'] == 'subcat'){ ?>
<?php foreach($cat_children as $cats){
$term = get_term($cats, MICHSCI_CATEGORY_NAME); ?>