From 85ddf0ee31cddea3866ddd2abab5153ff84dcfa8 Mon Sep 17 00:00:00 2001 From: chansizzle <14916599+chansizzle@users.noreply.github.com> Date: Wed, 25 Sep 2019 20:35:09 -0600 Subject: [PATCH] Update contacts.php (#4660) --- app/contacts/contacts.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/contacts/contacts.php b/app/contacts/contacts.php index 0fea56a2ad..938db50b15 100644 --- a/app/contacts/contacts.php +++ b/app/contacts/contacts.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2018 + Portions created by the Initial Developer are Copyright (C) 2008-2019 the Initial Developer. All Rights Reserved. Contributor(s): @@ -301,7 +301,7 @@ echo " ".escape($row['contact_title'])." \n"; echo " ".escape($row['contact_role'])." \n"; echo " "; - if (sizeof($contact_sync_sources[$row['contact_uuid']]) > 0) { + if (is_array($contact_sync_sources[$row['contact_uuid']]) && sizeof($contact_sync_sources[$row['contact_uuid']]) > 0) { foreach ($contact_sync_sources[$row['contact_uuid']] as $contact_sync_source) { switch ($contact_sync_source) { case 'google': echo "".$text["; break; @@ -347,4 +347,4 @@ //include the footer require_once "resources/footer.php"; -?> \ No newline at end of file +?>