Skip to content

Commit

Permalink
empty checked
Browse files Browse the repository at this point in the history
  • Loading branch information
jahidcmt4 committed Mar 21, 2024
1 parent 96c4940 commit 0a6648b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/template-parts/hotel/design-2/facilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
$f_icon_single = ! empty( $total_facilities_cat[$catkey]['hotel_facilities_cat_icon'] ) ? esc_attr($total_facilities_cat[$catkey]['hotel_facilities_cat_icon']) : '';
?>
<span class="single-facilities-title">
<?php echo !empty($f_icon_single) ? '<i class="' . esc_attr($f_icon_single) . '"></i>' : ''; ?> <?php echo esc_html($total_facilities_cat[$catkey]['hotel_facilities_cat_name']) ?? ''; ?>
<?php echo !empty($f_icon_single) ? '<i class="' . esc_attr($f_icon_single) . '"></i>' : ''; ?> <?php echo !empty($total_facilities_cat[$catkey]['hotel_facilities_cat_name']) ? esc_html($total_facilities_cat[$catkey]['hotel_facilities_cat_name']) : ''; ?>
</span>
<ul>
<?php
Expand Down

0 comments on commit 0a6648b

Please sign in to comment.