summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-12-26 19:34:49 +0100
committerDaniel Friesel <derf@finalrewind.org>2013-12-26 19:34:49 +0100
commit3539d4c555632db37acd5aefbd54ce51a9bcfe54 (patch)
tree33f4186dcb8942c0581329a8f2d1f5a355821540 /cgi
parent1c94dd25adf071ea128ea6df869ca416b7b93ae5 (diff)
fix is_cancelled for db backend
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;
}