Skip to content
Snippets Groups Projects
Commit 31bbc46d authored by Michaela Brückner's avatar Michaela Brückner :unicorn: Committed by Jan-Hendrik Willms
Browse files

check for empty string, fixes #1374

Closes #1374

Merge request studip/studip!2203
parent 10a9fedd
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ $fields = [ ...@@ -17,7 +17,7 @@ $fields = [
</a> </a>
<? foreach ($fields as $key => $label): ?> <? foreach ($fields as $key => $label): ?>
<? if ($institute[$key]): ?> <? if (trim($institute[$key])): ?>
<br> <br>
<strong><?= htmlReady($label) ?>:</strong> <strong><?= htmlReady($label) ?>:</strong>
<?= htmlReady($institute[$key]) ?> <?= htmlReady($institute[$key]) ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment