diff --git a/app/views/shared/studiengang/_studiengang.php b/app/views/shared/studiengang/_studiengang.php index e5eb41710dc0a8eb477454747239105c3bd191a0..1d30c1da6cb14463efc3f6a0ff3cf3fa309e0442 100644 --- a/app/views/shared/studiengang/_studiengang.php +++ b/app/views/shared/studiengang/_studiengang.php @@ -175,7 +175,7 @@ <? endif ?> <? endif; ?> <? endforeach; ?> - <? if (is_array($all_contacts) && count($all_contacts)) : ?> + <? if (!empty($all_contacts)) : ?> <tr> <td> <strong><?= _('Ihre AnsprechpartnerInnen') ?></strong> @@ -196,7 +196,7 @@ </td> </tr> <? endif ?> - <? if (is_array($all_documents) && count($all_documents)) : ?> + <? if (!empty($all_documents)) : ?> <tr> <td> <strong><?= _('Dokumente: Ordnungen, Formulare, Informationen') ?></strong> @@ -222,7 +222,7 @@ </td> </tr> <? endif ?> - <? if (count($all_aufbaustgs)) : ?> + <? if (!empty($all_aufbaustgs)) : ?> <tr> <td> <strong><?= _('Aufbau-/Kombinationsstudiengänge') ?></strong>