Add formatAddress function and replace all addresses with it

This commit is contained in:
johnnyq
2026-07-23 18:10:39 -04:00
parent 9c65644adc
commit 41b118ab87
17 changed files with 60 additions and 40 deletions

View File

@@ -277,7 +277,7 @@ ob_start();
<div class="font-weight-bold"><?= $location_name ?></div>
<div class="text-muted">
<?= $location_address ?><br>
<?= "$location_city $location_state $location_zip" ?><br>
<?= formatAddress('', $location_city, $location_state, $location_zip, '', ' ') ?><br>
<?= $location_country ?>
</div>
<?php } else { ?>