mirror of https://github.com/BOINC/boinc.git
Merge pull request #2979 from BOINC/Rytiss-pagehead
Do not allow page_head() to be called twice
This commit is contained in:
commit
94b2872d3e
|
@ -243,6 +243,10 @@ function page_head(
|
|||
global $caching, $cache_control_extra, $did_page_head;
|
||||
global $is_login_page, $fixed_navbar;
|
||||
|
||||
if ($did_page_head) {
|
||||
return;
|
||||
}
|
||||
|
||||
$did_page_head = true;
|
||||
$url_base = url_base();
|
||||
|
||||
|
|
Loading…
Reference in New Issue