From c834a964621c5ce6f11768a99c899dad6ef45041 Mon Sep 17 00:00:00 2001 From: John Havlik Date: Fri, 9 Jun 2017 18:47:28 -0500 Subject: [PATCH] Let's be cognisant that we may have gaps in the key count. Part of #166 --- class.bcn_breadcrumb_trail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class.bcn_breadcrumb_trail.php b/class.bcn_breadcrumb_trail.php index 227cea3..e9ee600 100644 --- a/class.bcn_breadcrumb_trail.php +++ b/class.bcn_breadcrumb_trail.php @@ -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']; }