Skip to content

Commit

Permalink
NI Postcodes can have empty mcon
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed May 29, 2024
1 parent 8f71baa commit f8740da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function member_image_box(string $person_id, string $person_url, string $person_
</li>

<?php
if (isset($mcon)) {
if (isset($mcon) && !empty($mcon)) {
$name = $mcon['given_name'] . ' ' . $mcon['family_name'];
echo '<li>';
if ($house == HOUSE_TYPE_SCOTLAND) {
Expand Down

0 comments on commit f8740da

Please sign in to comment.