From: Steve Sutton Date: Tue, 3 Jul 2018 12:40:32 +0000 (-0400) Subject: Correcting the city for the changes in the data class. X-Git-Tag: v1.1.12^2~20 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=f4d6c415984f24f4cbc665c9f823c4508ac4f643;p=WP-Plugins%2Fglm-member-db-contacts.git Correcting the city for the changes in the data class. Since the force_list is turned off the city is now just a string. --- diff --git a/views/admin/ajax/contactsListExport.html b/views/admin/ajax/contactsListExport.html index ffbd14f..69d4072 100644 --- a/views/admin/ajax/contactsListExport.html +++ b/views/admin/ajax/contactsListExport.html @@ -43,7 +43,7 @@ {if $select.exportLname}{$m.lname}{/if} {if $select.exportAddr1}{$m.addr1}{/if} {if $select.exportAddr2}{$m.addr2}{/if} - {if $select.exportCity}{if $m.city}{$m.city.name}{/if}{/if} + {if $select.exportCity}{$m.city}{/if} {if $select.exportCounty}{$m.county}{/if} {if $select.exportState}{if $m.state}{$m.state.value}{/if}{/if} {if $select.exportZip}{$m.zip}{/if} diff --git a/views/admin/ajax/contactsListExportCsv.html b/views/admin/ajax/contactsListExportCsv.html index c45eba3..b6cf197 100644 --- a/views/admin/ajax/contactsListExportCsv.html +++ b/views/admin/ajax/contactsListExportCsv.html @@ -27,7 +27,7 @@ {if $select.exportLname}"{$m.lname}",{/if} {if $select.exportAddr1}"{$m.addr1}",{/if} {if $select.exportAddr2}"{$m.addr2}",{/if} -{if $select.exportCity}"{if $m.city}{$m.city.name}{/if}",{/if} +{if $select.exportCity}"{$m.city}",{/if} {if $select.exportCounty}"{$m.county}",{/if} {if $select.exportState}"{if $m.state}{$m.state.value}{/if}",{/if} {if $select.exportZip}"{$m.zip}",{/if}