fix: [internal] Remove warning when using populate by template

pull/8613/head
Jakub Onderka 2022-09-22 15:20:39 +02:00
parent 089a1f364f
commit c46d70fe2a
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@
?>
</div>
<div class="error-message populateTemplateErrorField" <?php if (!isset($errors[$element_id])) echo 'style="display:none;"';?>>
<?php echo __('Error: %s', $errors[$element_id]); ?>
<?= isset($errors[$element_id]) ? __('Error: %s', $errors[$element_id]) : ''; ?>
</div>
</div>
</div>