[Jifty-commit] r3337 - jifty/trunk/lib/Jifty/View/Declare
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sun Jun 3 17:54:59 EDT 2007
Author: clkao
Date: Sun Jun 3 17:54:59 2007
New Revision: 3337
Modified:
jifty/trunk/lib/Jifty/View/Declare/Helpers.pm
Log:
$done_header being assigned, so no need to ++.
Modified: jifty/trunk/lib/Jifty/View/Declare/Helpers.pm
==============================================================================
--- jifty/trunk/lib/Jifty/View/Declare/Helpers.pm (original)
+++ jifty/trunk/lib/Jifty/View/Declare/Helpers.pm Sun Jun 3 17:54:59 2007
@@ -304,8 +304,7 @@
no warnings qw( uninitialized redefine once );
$title ||= Jifty->config->framework('ApplicationName');
- # defined $title or return;
- return if $done_header++;
+ return if $done_header;
Template::Declare->new_buffer_frame;
outs_raw(
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'
More information about the Jifty-commit
mailing list