diff options
Diffstat (limited to 'lib/Object/Groupware/Calendar.pm')
-rw-r--r-- | lib/Object/Groupware/Calendar.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Object/Groupware/Calendar.pm b/lib/Object/Groupware/Calendar.pm index 386a749..3d46032 100644 --- a/lib/Object/Groupware/Calendar.pm +++ b/lib/Object/Groupware/Calendar.pm @@ -49,7 +49,7 @@ method events ( $set = undef, $period = undef ) ) } sort { $a->start->compare( $b->start ) - || $a->start->compare( $b->start ) + || $a->end ? $a->end->compare( $b->end ) : 0 || $a->summary cmp $b->summary } $data->events( $set || (), $period || () ); |