From b6c8b567fc4d42e8339f198d3203d226a81b3bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ste=CC=81phane=20Goetz?= Date: Sun, 26 Apr 2015 18:24:22 +0200 Subject: [PATCH] Fix homepage getter --- libs/MarkdownPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/MarkdownPage.php b/libs/MarkdownPage.php index 16da76d..b952572 100644 --- a/libs/MarkdownPage.php +++ b/libs/MarkdownPage.php @@ -40,7 +40,7 @@ class MarkdownPage extends SimplePage $this->title = $params['title']; } } - + if ($params['breadcrumbs']) { $this->breadcrumb_trail = $this->buildBreadcrumbTrail($file->getParents(), $params['multilanguage']); } @@ -87,7 +87,7 @@ class MarkdownPage extends SimplePage $entry_page[$name] = $params['base_page'] . $params['entry_page'][$key]->getUrl(); } } else { - $entry_page['View Documentation'] = $params['base_page'] . $params['entry_page']->getUri(); + $entry_page['View Documentation'] = $params['base_page'] . $params['entry_page']->getUrl(); } } elseif ($params['file_uri'] === 'index') { $entry_page[$params['entry_page']->title] = $params['base_page'] . $params['entry_page']->getUrl();