Replace deprecated $a->page with DI::page()
This commit is contained in:
+1
-1
@@ -513,7 +513,7 @@ function profiles_content(App $a) {
|
||||
return;
|
||||
}
|
||||
|
||||
$a->page['htmlhead'] .= Renderer::replaceMacros(Renderer::getMarkupTemplate('profed_head.tpl'), [
|
||||
DI::page()['htmlhead'] .= Renderer::replaceMacros(Renderer::getMarkupTemplate('profed_head.tpl'), [
|
||||
'$baseurl' => System::baseUrl(true),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user