[Jifty-commit] r6268 - in jifty/trunk: lib/Jifty/View/Mason
Jifty commits
jifty-commit at lists.jifty.org
Fri Jan 23 19:20:40 EST 2009
Author: alexmv
Date: Fri Jan 23 19:20:40 2009
New Revision: 6268
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/View/Mason/Handler.pm
Log:
r41200 at kohr-ah: chmrr | 2009-01-23 19:20:30 -0500
* Only warn if out_method got non-empty args
Modified: jifty/trunk/lib/Jifty/View/Mason/Handler.pm
==============================================================================
--- jifty/trunk/lib/Jifty/View/Mason/Handler.pm (original)
+++ jifty/trunk/lib/Jifty/View/Mason/Handler.pm Fri Jan 23 19:20:40 2009
@@ -56,7 +56,7 @@
my %p = @_ || $package->config;
my $self = $package->SUPER::new( request_class => 'HTML::Mason::Request::Jifty',
- out_method => sub {Carp::cluck("Mason output skipped Jifty's output stack!")},
+ out_method => sub {Carp::cluck("Mason output skipped Jifty's output stack!") if grep {defined and length} @_},
%p );
$self->interp->compiler->add_allowed_globals('$r');
$self->interp->set_escape( h => \&escape_utf8 );
More information about the Jifty-commit
mailing list