diff --git a/code/BlogTree.php b/code/BlogTree.php index a8ace83..683be82 100644 --- a/code/BlogTree.php +++ b/code/BlogTree.php @@ -66,7 +66,7 @@ class BlogTree extends Page { } // This shouldn't be possible, but assuming the above fails, just return anything you can get - return $blogTrees; + return $blogTrees->first(); } /* ----------- ACCESSOR OVERRIDES -------------- */