Ensure that the baseurl return value is a string
This commit is contained in:
parent
4c40bc164d
commit
e13a31c4fe
12 changed files with 15 additions and 21 deletions
|
@ -54,11 +54,10 @@ function message_init(App $a)
|
|||
'$tabs' => $tabs,
|
||||
'$new' => $new,
|
||||
]);
|
||||
$base = DI::baseUrl();
|
||||
|
||||
$head_tpl = Renderer::getMarkupTemplate('message-head.tpl');
|
||||
DI::page()['htmlhead'] .= Renderer::replaceMacros($head_tpl, [
|
||||
'$base' => $base
|
||||
'$base' => (string)DI::baseUrl()
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue