Skip to content

Commit

Permalink
Ensure $row is an array.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 27, 2014
1 parent d22ad55 commit c02329a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions framework/Core/lib/Horde/Core/ActiveSync/Driver.php
Expand Up @@ -1183,6 +1183,9 @@ public function getMessage($folderid, $id, array $collection)
}
if (is_array($recipients)) {
$row = array_pop(array_pop($recipients));
if (!count($row)) {
$row = array();
}
} else {
$row = array();
}
Expand Down

0 comments on commit c02329a

Please sign in to comment.