Skip to content

Commit

Permalink
Can't test the method return value for empty().
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Dec 7, 2014
1 parent d902607 commit 71fe541
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kronolith/lib/Event.php
Expand Up @@ -1492,7 +1492,8 @@ public function fromASAppointment(Horde_ActiveSync_Message_Appointment $message)
}

/* Meeting requests come with their own UID value. */
if (empty($this->uid) && !empty($message->getUid())) {
$client_uid = $message->getUid();
if (empty($this->uid) && !empty($client_uid)) {
$this->uid = $message->getUid();
}

Expand Down

0 comments on commit 71fe541

Please sign in to comment.