Skip to content

Commit

Permalink
Must return a variable since we return by ref.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Feb 2, 2014
1 parent 8dab5ea commit a3dceab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/ActiveSync/lib/Horde/ActiveSync/Device.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ public function &__get($property)
break;
case 'properties':
if (!isset($this->_properties['properties'])) {
return array();
$return = array();
return $return;
}
// Fall through.
default:
Expand Down

0 comments on commit a3dceab

Please sign in to comment.