suppress werning output when number of emails is bigger than number of TELs

This commit is contained in:
Alexey Shpakovsky 2021-10-03 00:09:43 +02:00
parent aafc2f467a
commit 2eca13d7a2
No known key found for this signature in database
GPG Key ID: 5797A726A2A4230A
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class abook_carddav extends addressbook_backend {
// one line per each email
foreach($vcard->EMAIL as $i => $email) {
// also show one TEL for one EMAIL (extra TELs are ignored)
$ret[] = $this->vcard2sq($uri, $vcard, $email, (string)$vcard->TEL[$i]);
$ret[] = $this->vcard2sq($uri, $vcard, $email, (string)@$vcard->TEL[$i]);
}
}
if($limit == 1) { return $ret[0]; }