Permalink
Browse files

display page items before virtual items

  • Loading branch information...
juergmessmer committed Oct 30, 2012
1 parent ecaa197 commit 0f95eb1860f9744d337e871b54de450bdba443c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/classes/NavigationItem.php
@@ -67,7 +67,7 @@ public function getChildren($sLanguageId = null, $bIncludeDisabled = false, $bIn
$this->aChildren[$sKey] = $this->getChildrenImpl($sLanguageId, $bIncludeDisabled, $bIncludeInvisible);
}
$this->prepareChildren();
return ($this->getCustomChildren($sLanguageId, $bIncludeDisabled, $bIncludeInvisible) + $this->aChildren[$sKey]);
return ($this->aChildren[$sKey] + $this->getCustomChildren($sLanguageId, $bIncludeDisabled, $bIncludeInvisible));
}
public function hasChildren($sLanguageId = null, $bIncludeDisabled = false, $bIncludeInvisible = false) {

0 comments on commit 0f95eb1

Please sign in to comment.