From 7f63b7a3c0861592cf8693926b93fa1de26df645 Mon Sep 17 00:00:00 2001 From: chansizzle <14916599+chansizzle@users.noreply.github.com> Date: Mon, 23 Dec 2019 17:59:44 -0700 Subject: [PATCH] Update contacts_vcard.php (#4986) --- app/contacts/contacts_vcard.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/contacts/contacts_vcard.php b/app/contacts/contacts_vcard.php index eb8eeab4ef..e1cee73f70 100644 --- a/app/contacts/contacts_vcard.php +++ b/app/contacts/contacts_vcard.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-2012 + Portions created by the Initial Developer are Copyright (C) 2008-2019 the Initial Developer. All Rights Reserved. Contributor(s): @@ -85,7 +85,7 @@ if (is_array($_GET) && @sizeof($_GET) != 0) { $e = 0; foreach ($result as &$row) { $vcard->data['email'.$e] = $row["email_address"]; - if (++$e == 2) { break; } //limit to 2 rows + if ($e++ == 2) { break; } //limit to 2 rows } } unset($sql, $parameters, $result, $row);