mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Fix: PHP Fatal error: Call-time pass-by-reference (#138)
This commit is contained in:
parent
de0648a392
commit
1ed1efbe6c
1 changed files with 3 additions and 3 deletions
|
|
@ -401,17 +401,17 @@ class Contact
|
||||||
|
|
||||||
if (isset($oVCard->EMAIL))
|
if (isset($oVCard->EMAIL))
|
||||||
{
|
{
|
||||||
$this->addArrayPropertyHelper(&$aProperties, $oVCard->EMAIL, PropertyType::EMAIl);
|
$this->addArrayPropertyHelper($aProperties, $oVCard->EMAIL, PropertyType::EMAIl);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($oVCard->URL))
|
if (isset($oVCard->URL))
|
||||||
{
|
{
|
||||||
$this->addArrayPropertyHelper(&$aProperties, $oVCard->URL, PropertyType::WEB_PAGE);
|
$this->addArrayPropertyHelper($aProperties, $oVCard->URL, PropertyType::WEB_PAGE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($oVCard->TEL))
|
if (isset($oVCard->TEL))
|
||||||
{
|
{
|
||||||
$this->addArrayPropertyHelper(&$aProperties, $oVCard->TEL, PropertyType::PHONE);
|
$this->addArrayPropertyHelper($aProperties, $oVCard->TEL, PropertyType::PHONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->Properties = $aProperties;
|
$this->Properties = $aProperties;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue