From: Chuck Scott Date: Mon, 14 Dec 2015 21:16:20 +0000 (-0500) Subject: Fixer problem with view not knowing if packages are provided in list. X-Git-Tag: v1.0.1^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=8f8706aebde4280c01844fb913947125e57a8976;p=WP-Plugins%2Fglm-member-db-packaging.git Fixer problem with view not knowing if packages are provided in list. --- diff --git a/glm-member-db-packaging.php b/glm-member-db-packaging.php index c92ba8c..5e3cf43 100644 --- a/glm-member-db-packaging.php +++ b/glm-member-db-packaging.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Database Packaging * Plugin URI: http://www.gaslightmedia.com/ * Description: Gaslight Media Members Database. - * Version: 1.0.0 + * Version: 1.0.1 * Author: Chuck Scott * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -33,7 +33,7 @@ * version when there's a change in the database!! Use the * version nunmber of that release for the DB version. */ -define('GLM_MEMBERS_PACKAGING_PLUGIN_VERSION', '1.0.0'); +define('GLM_MEMBERS_PACKAGING_PLUGIN_VERSION', '1.0.1'); define('GLM_MEMBERS_PACKAGING_PLUGIN_DB_VERSION', '0.0.2'); // This is the minimum version of the GLM Members DB plugin require for this plugin. diff --git a/views/front/packaging/list.html b/views/front/packaging/list.html index 1b7d851..9034e26 100644 --- a/views/front/packaging/list.html +++ b/views/front/packaging/list.html @@ -1,6 +1,8 @@ {include file='front/packaging/header.html'} - -{foreach $packages as $p} + +{if $havePackages} + + {foreach $packages as $p}
{if $p.ref_type.value} {if $byMember} @@ -31,9 +33,10 @@ {/if}
- - + {/foreach} -{/foreach} +{else} + (Sorry, no packages currently listed.) +{/if} {include file='front/footer.html'}