suppress werning output when number of emails is bigger than number of TELs
This commit is contained in:
parent
aafc2f467a
commit
2eca13d7a2
1 changed files with 1 additions and 1 deletions
|
@ -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]; }
|
||||
|
|
Loading…
Reference in a new issue