Skip to content

Commit

Permalink
Style
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Aug 11, 2017
1 parent 51861ce commit a084964
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/Task.php
Expand Up @@ -1432,8 +1432,11 @@ public function fromiCalendar(Horde_Icalendar_Vtodo $vTodo)

try {
$name = $vTodo->getAttribute('SUMMARY');
if (!is_array($name)) { $this->name = $name; }
} catch (Horde_Icalendar_Exception $e) {}
if (!is_array($name)) {
$this->name = $name;
}
} catch (Horde_Icalendar_Exception $e) {
}

try {
$assignee = $vTodo->getAttribute('ORGANIZER');
Expand Down

0 comments on commit a084964

Please sign in to comment.