diff --git a/themes/bootstrap3/templates/ajax/status-full.phtml b/themes/bootstrap3/templates/ajax/status-full.phtml index 0c0a4588df1b5e03029a377aa95ad6d6b240a861..488ce2a53ae1bf1a1ea3b52ae7c7c283e95f082a 100644 --- a/themes/bootstrap3/templates/ajax/status-full.phtml +++ b/themes/bootstrap3/templates/ajax/status-full.phtml @@ -9,7 +9,7 @@ <tr> <td class="fullLocation"> <?php $locationText = $this->transEsc('location_' . $item['location'], [], $item['location']); ?> - <?php if (isset($item['locationhref']) && $item['locationhref']): ?> + <?php if ($item['locationhref'] ?? false): ?> <a href="<?=$item['locationhref']?>" target="_blank"><?=$locationText?></a> <?php else: ?> <?=$locationText?> @@ -23,7 +23,7 @@ <?php endif; ?> </td> <td class="fullAvailability"> - <?php if (isset($item['use_unknown_message']) && $item['use_unknown_message']): ?> + <?php if ($item['use_unknown_message'] ?? false): ?> <span><?=$this->transEsc("status_unknown_message")?></span> <?php elseif ($item['availability']): ?> <span class="text-success"><?=($item['reserve'] == 'Y') ? $this->transEsc("On Reserve") : $this->transEsc("Available")?></span>