X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Fsmarty%2Fnode_methodz%2Ffunction.get_bookmarks.php;h=44e1b290981a125f596a910189665c3453884dfc;hb=5bd150af8a328f1a3aebfe05c2535da7bbed7667;hp=8744980f8dd40e5bd121ba10596f13a83004369c;hpb=8f52a0530e35e87e5624e1bb84283aa58ea78e2b;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/smarty/node_methodz/function.get_bookmarks.php b/wwwroot/inc/smarty/node_methodz/function.get_bookmarks.php index 8744980..44e1b29 100644 --- a/wwwroot/inc/smarty/node_methodz/function.get_bookmarks.php +++ b/wwwroot/inc/smarty/node_methodz/function.get_bookmarks.php @@ -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();