From 3539d4c555632db37acd5aefbd54ce51a9bcfe54 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 26 Dec 2013 19:34:49 +0100 Subject: fix is_cancelled for db backend --- cgi/index.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgi/index.pl b/cgi/index.pl index d579b4d..67c5623 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -228,8 +228,8 @@ sub make_infoboard_lines { // $strp_simple->parse_datetime($time); my $dt; - if ( ( $displayed_lines >= $no_lines ) - or $d->is_cancelled ) + if ( ( $displayed_lines >= $no_lines ) + or ( $d->can('is_cancelled') and $d->is_cancelled ) ) { next; } -- cgit v1.2.3