glob never returns NULL
This commit is contained in:
1 parent
a032749a10
commit
f08ce40652
1 file changed
+1
-1
+1
-1
@@ -136,7 +136,7 @@ if (!empty($_GET['q'])) {
|
||||
</main>
|
||||
<?php
|
||||
$dirList = glob('*', GLOB_ONLYDIR);
|
||||
if ($dirList != NULL) :
|
||||
if (!empty($dirList)) :
|
||||
?>
|
||||
<nav>
|
||||
<ul>
|
||||
|
||||
Reference in new issue
Block a user