From 86d2bc9e29fc1a947cda786bb45895a8a8138199 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Fri, 13 Jan 2017 17:10:09 -0500 Subject: [PATCH] Changed featured view to use term instead of 'business' The featured view shortcode was using "Featured Business" as a title and was changed to use the term set in the admin side instead --- lib/GlmDataAbstract/DataAbstract.php | 4 ++-- views/front/members/featured.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/GlmDataAbstract/DataAbstract.php b/lib/GlmDataAbstract/DataAbstract.php index 67a04877..05fd32b1 100755 --- a/lib/GlmDataAbstract/DataAbstract.php +++ b/lib/GlmDataAbstract/DataAbstract.php @@ -3334,7 +3334,7 @@ abstract class GlmDataAbstract } $list = $this->wpdb->get_results($sql, ARRAY_A); - + if (count($list) == 0) { return false; } @@ -3356,7 +3356,7 @@ abstract class GlmDataAbstract $this->addDataAbstractNotice($newList, 'DataBlock', "getList() data"); } - // If we're doing paging, return that data along with the list + // If we're doing paging, return that data along with the list if ($paging) { $c = count($list); return array( diff --git a/views/front/members/featured.html b/views/front/members/featured.html index c61cb8be..c3572fae 100644 --- a/views/front/members/featured.html +++ b/views/front/members/featured.html @@ -1,7 +1,7 @@ {include file='front/members/header.html'} {if $member}