From: Marcus Ramberg Date: Tue, 19 Oct 2004 20:32:27 +0000 (+0000) Subject: removed warnings about calling standard templates X-Git-Tag: 2.10~120 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=06e77b2be76e0c2ae19ad3b4d0afac7fea4f2581;p=maypole.git removed warnings about calling standard templates git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@242 48953598-375a-da11-a14b-00016c27c3ee --- diff --git a/lib/Maypole.pm b/lib/Maypole.pm index b5da323..f7699c3 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -134,7 +134,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?