Apache::Template (0.09) is sending blank failure reasons to my error_log. The problem only rears its head when the TT2Error config isn't set.
It looks like it was perhaps just a typo in Template::Service::Apache. The following patch fixes the problem for me. The original code didn't work because a false value was just assigned to $template in the preceding "if" clause. Regards, Philip Garrett --- Apache-Template-0.09/lib/Template/Service/Apache.pm 2004-04-27 10:11:31.000000000 +0100 +++ Apache-Template-new/lib/Template/Service/Apache.pm 2005-05-26 22:56:20.636115000 +0100 @@ -87,7 +87,7 @@ } } else { - $r->log_reason($template, $filename); + $r->log_reason($self->{ TEMPLATE_ERROR }, $filename); return SERVER_ERROR; } } _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
