summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-rw-r--r--cgi/index.pl4
1 files 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;
}