Fixed typo in V::TT
Andy Grundman [Fri, 21 Oct 2005 20:40:59 +0000 (20:40 +0000)]
lib/Catalyst/View/TT.pm

index 93fad62..11b16af 100644 (file)
@@ -275,7 +275,7 @@ sub new {
     # Template::Timer as a custom CONTEXT object, but only if we haven't
     # already got a custom CONTEXT defined
 
-    if ( $config->{TIMER} ( {
+    if ( $config->{TIMER} ) {
         if ( $config->{CONTEXT} ) {
             $c->log->error(
                 'Cannot use Template::Timer - a TT CONFIG is already defined');