Skip to content

Commit

Permalink
Fix: Undefined variable on listing_location and listing_feature short…
Browse files Browse the repository at this point in the history
…codes.
  • Loading branch information
mervb committed Sep 10, 2019
1 parent aa20f78 commit c512d45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/shortcodes/shortcode-listing-tax-feature.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function epl_shortcode_listing_tax_feature_callback( $atts ) {
$feature = $attributes['feature'];
$feature_id = $attributes['feature_id'];
$offset = $attributes['offset'];
$agent = $attributes['agent'];
//$agent = $attributes['agent'];
$template = $attributes['template'];
$location = $attributes['location'];
$tools_top = $attributes['tools_top'];
Expand Down
2 changes: 1 addition & 1 deletion lib/shortcodes/shortcode-listing-tax-location.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function epl_shortcode_listing_tax_location_callback( $atts ) {
$location = $attributes['location'];
$location_id = $attributes['location_id'];
$offset = $attributes['offset'];
$agent = $attributes['agent'];
//$agent = $attributes['agent'];
$template = $attributes['template'];
$tools_top = $attributes['tools_top'];
$tools_bottom = $attributes['tools_bottom'];
Expand Down

0 comments on commit c512d45

Please sign in to comment.