Skip to content

Commit

Permalink
These are not mutually exclusive.
Browse files Browse the repository at this point in the history
Fixes EAS email "flag" not being set from client on certain clients.
  • Loading branch information
mrubinsk committed May 27, 2015
1 parent 2ae3b0d commit 7248c3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/Core/lib/Horde/Core/ActiveSync/Driver.php
Expand Up @@ -1856,7 +1856,8 @@ public function changeMessage($folderid, $id, Horde_ActiveSync_Message_Base $mes
if ($message->read !== '') {
$this->setReadFlag($folderid, $id, $message->read);
$stat['flags'] = array_merge($stat['flags'], array('read' => $message->read));
} elseif ($message->propertyExists('flag')) {
}
if ($message->propertyExists('flag')) {
if (!$message->flag) {
$message->flag = Horde_ActiveSync::messageFactory('Flag');
}
Expand Down

0 comments on commit 7248c3a

Please sign in to comment.