This commit is contained in:
Dennis Eichhorn 2024-01-30 21:29:20 +00:00
parent 425b69f303
commit a3d280b95a
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ class AttributeView extends View
/**
* {@inheritdoc}
*/
public function __construct(?L11nManager $l11n = null, RequestAbstract $request, ResponseAbstract $response)
public function __construct(L11nManager $l11n, RequestAbstract $request, ResponseAbstract $response)
{
parent::__construct($l11n, $request, $response);
$this->setTemplate('/Modules/Attribute/Theme/Backend/Components/attributes');

View File

@ -129,7 +129,7 @@ $units = $this->units;
<?php endforeach; ?>
<?php if ($c === 0) : ?>
<tr>
<td colspan="5" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
<td colspan="6" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
<?php endif; ?>
</table>
</div>