Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Removed unnecessary variable declaration in SiteTree (thanks ma…

…ttclegg)
  • Loading branch information...
commit 9540e248e769d29aab3a87da2b601d65f1c2295c 1 parent 7a80e6d
@chillu chillu authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  code/model/SiteTree.php
View
1  code/model/SiteTree.php
@@ -635,7 +635,6 @@ public function Breadcrumbs($maxDepth = 20, $unlinked = false, $stopAtPageType =
&& (!$stopAtPageType || $page->ClassName != $stopAtPageType)
) {
if($showHidden || $page->ShowInMenus || ($page->ID == $this->ID)) {
- if($page->URLSegment == 'home') $hasHome = true;
if(($page->ID == $this->ID) || $unlinked) {
$parts[] = Convert::raw2xml($page->Title);
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.