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:
ff58b5f
)
fixing syntax error
author
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 14 Jan 2016 15:08:14 +0000
(10:08 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 14 Jan 2016 15:08:14 +0000
(10:08 -0500)
views/list_products.php
patch
|
blob
|
history
diff --git
a/views/list_products.php
b/views/list_products.php
index
56ac012
..
bec4dd8
100644
(file)
--- a/
views/list_products.php
+++ b/
views/list_products.php
@@
-1,5
+1,5
@@
<?php if(!isset($_COOKIE['view']) || $_COOKIE['view'] == "grid"){ ?>
- $cat_id = $_REQUEST[MICHSCI_CATEGORY_NAME];
+ <?php $cat_id = $_REQUEST[MICHSCI_CATEGORY_NAME]; ?>
<?php $term = get_term($cat_id, MICHSCI_CATEGORY_NAME); ?>
<?php echo $term->name; ?>
<?php get_template_part('parts/sidebar-l'); ?>