? boost-673874.patch
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.291
diff -u -p -r1.3.2.2.2.5.2.291 boost.module
--- boost.module	23 Jan 2010 22:16:49 -0000	1.3.2.2.2.5.2.291
+++ boost.module	24 Jan 2010 04:26:33 -0000
@@ -801,9 +801,14 @@ function boost_get_menu_structure($menu,
   $structure = array_unique($structure);
   $found_global = $found;
   if ($first) {
-    $menu_out = array_unique($menu_out);
-    sort($menu_out);
-    return $menu_out;
+    if (isset($menu_out) && is_array($menu_out)) {
+      $menu_out = array_unique($menu_out);
+      sort($menu_out);
+      return $menu_out;
+    }
+    else {
+      return array();
+    }
   }
   else {
     return $structure;
