From: Steve Sutton Date: Tue, 20 Mar 2018 15:23:57 +0000 (-0400) Subject: Fix bad call to apply_filters X-Git-Tag: v1.0.0^2~26 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=b0d6dd0966425052d9c7b1ac6baa71a0f27de4e2;p=WP-Themes%2Fmigcsa.git Fix bad call to apply_filters Needs second parameter. --- diff --git a/glm-member-db-contacts/views/front/contacts/list.html b/glm-member-db-contacts/views/front/contacts/list.html index d94fbf4..3b82e11 100644 --- a/glm-member-db-contacts/views/front/contacts/list.html +++ b/glm-member-db-contacts/views/front/contacts/list.html @@ -26,7 +26,7 @@ and open the template in the editor.
Company Search:
- {$cityList = apply_filters("glm-member-contact-cities")} + {$cityList = apply_filters("glm-member-contact-cities", '')}
City Search:
- +
@@ -67,14 +67,14 @@ and open the template in the editor. showing {$start} through {$lastDisplayed} of {$filteredContactsFound} {/if} - + {$contacts_with_subs = apply_filters("get_contacts_with_subs", $contacts)} - + {if $haveContacts} - + {foreach $contacts as $contact} - + {if $contact.active.value == 1}
@@ -90,8 +90,8 @@ and open the template in the editor.
- {if $contact.primary_contact.value == true} - + {if $contact.primary_contact.value == true} + {if $contact.title}
{$contact.title}
{/if} {if $contacts_with_subs !== false} {foreach $contacts_with_subs as $contact_with_subs} @@ -107,7 +107,7 @@ and open the template in the editor. {/if} {if $contact.ref_type.name}
- {if $contact.primary_contact.value == false} + {if $contact.primary_contact.value == false} {if $contact.ref_dest_name} Associated Member: {$contact.ref_dest_name} {/if} @@ -123,7 +123,7 @@ and open the template in the editor. {if $contact.zip}{$contact.zip}{/if}
{/if} {if $contact.county}
{$contact.county} County
{/if} - +
{if $contact.office_phone}
Work: {$contact.office_phone}
{/if} @@ -134,7 +134,7 @@ and open the template in the editor. {if $contact.email}{/if} {if $contact.alt_email}{/if} {if $contact.url}{/if} -
+
{if $contact.org}
Organization: {$contact.org}
{/if} {if $contact.descr}
Position & Responsibilities: {$contact.descr}
{/if} @@ -166,4 +166,4 @@ and open the template in the editor. {include file='front/footer.html'} - \ No newline at end of file +