mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2010-03-08 10:35 pm

[dw-free] Routing/TT uses headextra ( invalid section ) instead of head.

[commit: http://hg.dwscoalition.org/dw-free/rev/842430329858]

http://bugs.dwscoalition.org/show_bug.cgi?id=2384

Fix render_sitescheme head stuffing bug.

Patch by [personal profile] afuna.

Files modified:
  • htdocs/misc/render_sitescheme.bml
--------------------------------------------------------------------------------
diff -r 16897fd59456 -r 842430329858 htdocs/misc/render_sitescheme.bml
--- a/htdocs/misc/render_sitescheme.bml	Mon Mar 08 22:33:57 2010 +0000
+++ b/htdocs/misc/render_sitescheme.bml	Mon Mar 08 22:35:53 2010 +0000
@@ -21,14 +21,14 @@ body<=
 {
     use strict;
     use DW::Request;
-    use vars qw/ $title $windowtitle $headextra /;
+    use vars qw/ $title $windowtitle $head /;
 
     my $r = DW::Request->get;
     my $code = $r->pnote( 'render_sitescheme_code' );
     my $extras = $r->pnote( 'render_sitescheme_extra' );
     return BML::redirect($LJ::SITEROOT) unless $code;
 
-    $headextra = $extras->{headextra} || "";
+    $head = $extras->{head} || "";
     $title = $extras->{title} || "";
     $windowtitle = $extras->{windowtitle} || "";
 
@@ -36,7 +36,7 @@ body<=
 }
 _code?>
 <=body
-headextra=><?_code return BML::ebml( $headextra ); _code?>
+head=><?_code return BML::ebml( $head ); _code?>
 title=><?_code return BML::ebml( $title ); _code?>
 windowtitle=><?_code return BML::ebml( $windowtitle ); _code?>
 page?>
--------------------------------------------------------------------------------