# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: moodle/lib/navigationlib.php
--- moodle/lib/navigationlib.php Base (1.205)
+++ moodle/lib/navigationlib.php Locally Modified (Based On 1.205)
@@ -536,10 +536,6 @@
      * @param array $expandable An array by reference to populate with expandable nodes.
      */
     public function find_expandable(array &$expandable) {
-        $isloggedin = (isloggedin() && !isguestuser());
-        if (!$isloggedin && $this->type > self::TYPE_CATEGORY) {
-            return;
-        }
         foreach ($this->children as &$child) {
             if (!$isloggedin && $child->type > self::TYPE_CATEGORY) {
                 continue;
