These sorts are necessary on the header arrays, otherwise the relative priority of certain headers is not respected.
This commit is contained in:
parent
b775c007cd
commit
2dc6e054c8
2 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ class Layout {
|
||||||
$contact_link = $config->get_string('contact_link');
|
$contact_link = $config->get_string('contact_link');
|
||||||
|
|
||||||
$header_html = "";
|
$header_html = "";
|
||||||
|
ksort($page->html_headers);
|
||||||
foreach($page->html_headers as $line) {
|
foreach($page->html_headers as $line) {
|
||||||
$header_html .= "\t\t$line\n";
|
$header_html .= "\t\t$line\n";
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,7 @@ class Layout {
|
||||||
$contact_link = $config->get_string('contact_link');
|
$contact_link = $config->get_string('contact_link');
|
||||||
|
|
||||||
$header_html = "";
|
$header_html = "";
|
||||||
|
ksort($page->html_headers);
|
||||||
foreach($page->html_headers as $line) {
|
foreach($page->html_headers as $line) {
|
||||||
$header_html .= "\t\t$line\n";
|
$header_html .= "\t\t$line\n";
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue