Skip to content

Commit

Permalink
This will usually be an array, but it might be empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Apr 25, 2014
1 parent 78cd059 commit 9df172d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Core/lib/Horde/Core/ActiveSync/Driver.php
Expand Up @@ -1179,7 +1179,7 @@ public function getMessage($folderid, $id, array $collection)
$this->_endBuffer();
throw new Horde_ActiveSync_Exception($e->getMessage());
}
if (is_array($recipients)) {
if (is_array($recipients) && count($recipients)) {
$row = array_pop(array_pop($recipients));
if (!count($row)) {
$row = array();
Expand Down

0 comments on commit 9df172d

Please sign in to comment.