Selaa lähdekoodia

Update contacts_vcard.php (#4986)

chansizzle 5 vuotta sitten
vanhempi
commit
6952c82d52
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      contacts_vcard.php

+ 2 - 2
contacts_vcard.php

@@ -17,7 +17,7 @@
 
 
 	The Initial Developer of the Original Code is
 	The Initial Developer of the Original Code is
 	Mark J Crane <[email protected]>
 	Mark J Crane <[email protected]>
-	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.
 	the Initial Developer. All Rights Reserved.
 
 
 	Contributor(s):
 	Contributor(s):
@@ -85,7 +85,7 @@ if (is_array($_GET) && @sizeof($_GET) != 0) {
 			$e = 0;
 			$e = 0;
 			foreach ($result as &$row) {
 			foreach ($result as &$row) {
 				$vcard->data['email'.$e] = $row["email_address"];
 				$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);
 		unset($sql, $parameters, $result, $row);