Issue #2421645 by Dave Reid: Fixed PHP Recoverable fatal error: Argument 3 passed to menu_tree_prune_tree() must be of the type array, boolean given.