Clean up usage of is_countable()

This commit is contained in:
Kijin Sung 2020-06-08 20:35:54 +09:00
parent 67a9aba082
commit 494e0ee028
8 changed files with 10 additions and 14 deletions

View file

@ -151,7 +151,7 @@
<footer class="layout_frame layout_footer">
<div class="layout_footer layout_canvas">
<!--// Footer Menu -->
<nav class="layout_menu" id="layout_fnb" cond="is_countable($FNB->list)">
<nav class="layout_menu" id="layout_fnb" cond="is_countable($FNB->list) && count($FNB->list)">
<ul>
<li loop="$FNB->list=>$key1,$val1" class="footer_menu">
<a href="{$val1['href']}" target="_blank"|cond="$val1['open_window']=='Y'"><span>{$val1['link']}</span></a>