]> git.decadent.org.uk Git - maypole.git/commitdiff
removed warnings about calling standard templates
authorMarcus Ramberg <mramberg@cpan.org>
Tue, 19 Oct 2004 20:32:27 +0000 (20:32 +0000)
committerMarcus Ramberg <mramberg@cpan.org>
Tue, 19 Oct 2004 20:32:27 +0000 (20:32 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@242 48953598-375a-da11-a14b-00016c27c3ee

lib/Maypole.pm

index b5da323ee9e544421e10a8525916d709a8b0f188..f7699c3c259adc050d701d1a20d7a30be154aa46 100644 (file)
@@ -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?