mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
fix header render
This commit is contained in:
parent
6840f9b9e7
commit
33cf7b521e
|
|
@ -286,7 +286,9 @@ final class Head implements RenderableInterface
|
|||
$rendered .= '<script src="' . $uri . '"';
|
||||
|
||||
foreach ($asset['attributes'] as $key => $attribute) {
|
||||
$rendered .= ' ' . $key . '="' . $attribute . '"';
|
||||
$rendered .= \is_string($key)
|
||||
? ' ' . $key . '="' . $attribute . '"'
|
||||
: ' ' . $attribute . '"';
|
||||
}
|
||||
|
||||
$rendered .= '></script>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user