Skip to content

Commit

Permalink
Avoid PHP reference errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 6, 2015
1 parent 764de60 commit a1e2c8a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions framework/ActiveSync/lib/Horde/ActiveSync/Imap/Message.php
Expand Up @@ -104,11 +104,14 @@ public function &__get($property)
{
switch ($property) {
case 'envelope':
return $this->_data->getEnvelope();
$e = $this->_data->getEnvelope();
return $e;
case 'flags':
return $this->_data->getFlags();
$f = $this->_data->getFlags();
return $f;
case 'uid':
return $this->_data->getUid();
$u = $this->_data->getUid();
return $u;
case 'basePart':
if (empty($this->_basePart)) {
$this->_basePart = new Horde_ActiveSync_Mime($this->_data->getStructure());
Expand Down

0 comments on commit a1e2c8a

Please sign in to comment.