Fixed imap search bug.
[squirrelmail.git] / functions / tree.php
index cda8c8e361d6b5f570ed362f697d797265b3d3e7..f37c8422a7ee06dd3472177d9cf0b1b0bc9136f9 100644 (file)
@@ -6,7 +6,7 @@
        return;
    define('tree_php', true);
 
-   include('../functions/imap.php');
+   require_once('../functions/imap.php');
 
    // Recursive function to find the correct parent for a new node
    function findParentForChild($value, $treeIndexToStart, $tree) {
          echo $tree[$index]['value'] . '<br>';
       }
    }
-?>
+?>
\ No newline at end of file