From 09da25ffca8d286d38b425b202275f4d7ce0c60a Mon Sep 17 00:00:00 2001 From: David Siegfried <david.siegfried@uni-vechta.de> Date: Wed, 24 Jul 2024 08:39:12 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) Co-authored-by: David Siegfried <david.siegfried@uni-vechta.de> --- app/views/resources/resource/_add_edit_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/resources/resource/_add_edit_form.php b/app/views/resources/resource/_add_edit_form.php index 1eec6151b4b..47a41328272 100644 --- a/app/views/resources/resource/_add_edit_form.php +++ b/app/views/resources/resource/_add_edit_form.php @@ -18,7 +18,7 @@ </label> <label> <?= _('Beschreibungstext') ?> - <input type="text" name="description" value="<?= isset($description) ? htmlReady($description) : null ?>"> + <input type="text" name="description" value="<?= !empty($description) ? htmlReady($description) : '' ?>"> </label> <? if ($GLOBALS['perm']->have_perm('root')): ?> <label> -- GitLab