Skip to content

Commit

Permalink
Actually skip date calculation if parsing of date failed.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Nov 21, 2013
1 parent 22c4a4e commit e360e58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions turba/lib/Driver.php
Expand Up @@ -714,6 +714,7 @@ public function listTimeObjects(Horde_Date $start, Horde_Date $end, $category)
try {
$t_object = new Horde_Date($t_object);
} catch (Horde_Date_Exception $e) {
continue;
}

if ($t_object->compareDate($end) > 0) {
Expand Down

0 comments on commit e360e58

Please sign in to comment.