projects
/
WP-Plugins
/
staffords-employment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6db658
)
fix the $deps and $cats from overpopulating
author
Steve Sutton
<steve@gaslightmedia.com>
Wed, 2 Dec 2015 21:28:14 +0000
(16:28 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Wed, 2 Dec 2015 21:28:14 +0000
(16:28 -0500)
controllers/front.php
patch
|
blob
|
history
diff --git
a/controllers/front.php
b/controllers/front.php
index
a830fb6
..
eee9405
100644
(file)
--- a/
controllers/front.php
+++ b/
controllers/front.php
@@
-511,6
+511,7
@@
class staffords_employment_front
$current_url = esc_url(add_query_arg($wp->query_string, '', home_url($wp->request)));
$iterator = 1;
foreach ($jobs as $job) {
+ $deps = $cats = array();
$custom = get_post_custom($job->ID);
$depTax = wp_get_post_terms( $job->ID, STAFFORDS_EMP_TAX_DEPARTMENTS, 'name' );
foreach ($depTax as $depTerm) {