Fix: PHP Fatal error: Call-time pass-by-reference (#138)

This commit is contained in:
RainLoop Team 2014-04-26 12:11:19 +04:00
parent de0648a392
commit 1ed1efbe6c

View file

@ -401,17 +401,17 @@ class Contact
if (isset($oVCard->EMAIL))
{
$this->addArrayPropertyHelper(&$aProperties, $oVCard->EMAIL, PropertyType::EMAIl);
$this->addArrayPropertyHelper($aProperties, $oVCard->EMAIL, PropertyType::EMAIl);
}
if (isset($oVCard->URL))
{
$this->addArrayPropertyHelper(&$aProperties, $oVCard->URL, PropertyType::WEB_PAGE);
$this->addArrayPropertyHelper($aProperties, $oVCard->URL, PropertyType::WEB_PAGE);
}
if (isset($oVCard->TEL))
{
$this->addArrayPropertyHelper(&$aProperties, $oVCard->TEL, PropertyType::PHONE);
$this->addArrayPropertyHelper($aProperties, $oVCard->TEL, PropertyType::PHONE);
}
$this->Properties = $aProperties;