Skip to content

Commit

Permalink
Make sure we don't lazy load existing tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Apr 2, 2016
1 parent 3bcd053 commit ee0d598
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nag/lib/Task.php
Expand Up @@ -1525,6 +1525,12 @@ public function fromASTask(Horde_ActiveSync_Message_Task $message)
/* Owner is always current user. */
$this->owner = $GLOBALS['registry']->getAuth();

/* Must set _tags so we don't lazy load tags from the backend in the
* case that this is an edit. For edits, all current tags will be passed
* from the client.
*/
$this->_tags = array();

/* Notes and Title */
if ($message->getProtocolVersion() >= Horde_ActiveSync::VERSION_TWELVE) {
if ($message->airsyncbasebody->type == Horde_ActiveSync::BODYPREF_TYPE_HTML) {
Expand Down

0 comments on commit ee0d598

Please sign in to comment.