Fix missing attributes

This commit is contained in:
Giuseppe Criscione 2024-06-16 16:24:01 +02:00
parent a45ee5d4a3
commit 1187cfde50

View File

@ -9,7 +9,7 @@
<?php if ($parent === $page || !$scheme->options()->get('pages', true)) : ?>
<?php continue ?>
<?php endif ?>
<option <?php $this->attr([
<option <?= $this->attr([
'value' => $parent->route(),
'selected' => $page->parent() === $parent,
]) ?>><?= str_repeat('— ', $parent->level() - 1) . $this->escape($parent->title()) ?></option>