still removing warnings
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / smarty / node_methodz / function.get_bookmarks.php
index 8744980f8dd40e5bd121ba10596f13a83004369c..44e1b290981a125f596a910189665c3453884dfc 100644 (file)
@@ -30,7 +30,7 @@ if ((!empty($bookcat)) && $bookcat) $q.=" and (bookmark_category='$bookcat' or b
 
 else $q.="order by node_name";
 $result=$db->query($q);
-if (!$bookcat) {
+if (empty($bookcat) || !$bookcat) {
        while ($result->next()) {
                if (!$result->getString('bookmark_category')) {
                        $categories['unsorted']['children'][]=$result->getRecord();
This page took 0.089251 seconds and 4 git commands to generate.