Skip to content

Commit

Permalink
use empty function for checking uset value of service_type
Browse files Browse the repository at this point in the history
  • Loading branch information
elsenhans committed Jan 15, 2024
1 parent c8580d1 commit 652db37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/bootstrap3/templates/ajax/resolverLink.phtml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php if (!empty($link['href'])): ?>
<a href="<?=$this->escapeHtmlAttr($link['href'])?>" title="<?=$link['service_type'] ? $this->transEscAttr('ServiceType::' . $link['service_type']) : ''?>"<?=!empty($link['access']) ? ' class="access-' . $link['access'] . '"' : ''?>>
<a href="<?=$this->escapeHtmlAttr($link['href'])?>" title="<?=!empty($link['service_type']) ? $this->transEscAttr('ServiceType::' . $link['service_type']) : ''?>"<?=!empty($link['access']) ? ' class="access-' . $link['access'] . '"' : ''?>>
<?=$this->escapeHtml($link['title'] ?? '')?>
</a>
<?php else: ?>
Expand Down

0 comments on commit 652db37

Please sign in to comment.