Skip to content

Commit

Permalink
Let's be cognisant that we may have gaps in the key count. Part of #166
Browse files Browse the repository at this point in the history
  • Loading branch information
mtekk committed Jun 9, 2017
1 parent 2219e9d commit c834a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class.bcn_breadcrumb_trail.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ public function display($return = false, $linked = true, $reverse = false)
else
{
//Only show the separator when necessary
if($key < count($this->breadcrumbs) - 1)
if($position > 1)
{
$trail_str .= $this->opt['hseparator'];
}
Expand Down

0 comments on commit c834a96

Please sign in to comment.