diff options
| author | spiderr <spiderr@bitweaver.org> | 2021-01-20 07:45:47 -0500 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2021-01-20 07:45:47 -0500 |
| commit | d9d215a4a116dce855582c319303f87462b972b3 (patch) | |
| tree | 8d5182c2716654f5b7e39aa92f03f4e3acc2dde3 | |
| parent | b39fd928db6077127cad37fa2d2ee51d39ef201e (diff) | |
| download | wiki-d9d215a4a116dce855582c319303f87462b972b3.tar.gz wiki-d9d215a4a116dce855582c319303f87462b972b3.tar.bz2 wiki-d9d215a4a116dce855582c319303f87462b972b3.zip | |
PHP7 implements Countable check
| -rw-r--r-- | templates/page_icons.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page_icons.tpl b/templates/page_icons.tpl index cd49496..67a3ae1 100644 --- a/templates/page_icons.tpl +++ b/templates/page_icons.tpl @@ -85,7 +85,7 @@ </div> {/if} - {if count($showstructs) gt 0} + {if $showstructs && (count($showstructs) gt 0)} <select id="sel-structures" name="page" onchange="javascript:BitBase.go(this)"> <option value="">{tr}Wiki Books{/tr} …</option> {section name=struct loop=$showstructs} |
