* Plugin Name: GLM Members Database Contacts
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 1.1.13
+ * Version: 1.1.14
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabaseContacts
* @author Gaslight Media <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.1.13
+ * @version 1.1.14
*/
// Check that we're being called by WordPress.
* version when there's a change in the database!! Use the
* version nunmber of that release for the DB version.
*/
-define('GLM_MEMBERS_CONTACTS_PLUGIN_VERSION', '1.1.13');
+define('GLM_MEMBERS_CONTACTS_PLUGIN_VERSION', '1.1.14');
/**
* Database Version
*/
{/if}
{if $contact.addr1}<div class="glm-contact-info-address1">{$contact.addr1}</div>{/if}
{if $contact.addr2}<div class="glm-contact-info-address2">{$contact.addr2}</div>{/if}
- {if $contact.zip or $contact.city.name or $contact.state.name}
+ {if $contact.zip or $contact.city or $contact.state.name}
<div>
- {if $contact.city.name}<span class="glm-contact-info-city">{$contact.city.name},</span>{/if}
+ {if $contact.city}<span class="glm-contact-info-city">{$contact.city},</span>{/if}
{if $contact.state.name}<span class="glm-contact-info-state">{$contact.state.name}</span>{/if}
{if $contact.zip}<span class="glm-contact-info-zip">{$contact.zip}</span>{/if}
</div>{/if}