X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole.pm;h=5fd048eb354f5b891cc5bd6d87edfffff9925998;hb=2f847230e87321d044cb12ae039c37bde0259bd9;hp=e4c0f7318e8847c1d38504ec2df014dda1a38f5e;hpb=7dda5e1451220612c6ad749746d84e4c090e330c;p=maypole.git diff --git a/lib/Maypole.pm b/lib/Maypole.pm index e4c0f73..5fd048e 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -1,6 +1,5 @@ package Maypole; use base qw(Class::Accessor::Fast Class::Data::Inheritable); -use attributes (); use UNIVERSAL::require; use strict; use warnings; @@ -134,7 +133,8 @@ sub is_applicable { . "Available tables are: " . join( ",", @{ $config->{display_tables} } ) if $self->debug - and not $config->ok_tables->{ $self->{table} }; + and not $config->ok_tables->{ $self->{table} } + and $self->{action}; return DECLINED() unless exists $config->ok_tables->{ $self->{table} }; # Is it public?