From 2dc6e054c8c58e89729cc61b63ca4df6dc2453f9 Mon Sep 17 00:00:00 2001 From: jgen Date: Wed, 23 Apr 2014 23:28:05 -0400 Subject: [PATCH] These sorts are necessary on the header arrays, otherwise the relative priority of certain headers is not respected. --- themes/lite/layout.class.php | 1 + themes/warm/layout.class.php | 1 + 2 files changed, 2 insertions(+) diff --git a/themes/lite/layout.class.php b/themes/lite/layout.class.php index 3cf8e9d9..b8b480fe 100644 --- a/themes/lite/layout.class.php +++ b/themes/lite/layout.class.php @@ -20,6 +20,7 @@ class Layout { $contact_link = $config->get_string('contact_link'); $header_html = ""; + ksort($page->html_headers); foreach($page->html_headers as $line) { $header_html .= "\t\t$line\n"; } diff --git a/themes/warm/layout.class.php b/themes/warm/layout.class.php index afac42b0..46e79774 100644 --- a/themes/warm/layout.class.php +++ b/themes/warm/layout.class.php @@ -16,6 +16,7 @@ class Layout { $contact_link = $config->get_string('contact_link'); $header_html = ""; + ksort($page->html_headers); foreach($page->html_headers as $line) { $header_html .= "\t\t$line\n"; }