Skip to content

Commit 5919b64

Browse files
committed
Clean up syntax and avoid empty values
1 parent b418d24 commit 5919b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embed.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<?php for ($i = 0, $s = count($styles); $i < $s; $i++): ?>
1010
<link rel="stylesheet" href="<?php print $styles[$i]; ?>">
1111
<?php endfor; ?>
12-
<?php if (isset($additional_embed_head_tags)) { print implode("\n", $additional_embed_head_tags); } ?>
12+
<?php if (!empty($additional_embed_head_tags)): print implode("\n", $additional_embed_head_tags); endif; ?>
1313
</head>
1414
<body>
1515
<div class="h5p-content" data-content-id="<?php print $content['id']; ?>"></div>

0 commit comments

Comments
 (0)