diff --git a/pandora_console/godmode/wizards/Wizard.main.php b/pandora_console/godmode/wizards/Wizard.main.php index 022402a8d1..d5239ae299 100644 --- a/pandora_console/godmode/wizards/Wizard.main.php +++ b/pandora_console/godmode/wizards/Wizard.main.php @@ -196,7 +196,7 @@ class Wizard * * @return void */ - public function prepareBreadcrum(array $urls, bool $add=false, bool $separator_beginning=false) + public function prepareBreadcrum(array $urls, bool $add=false) { $bc = []; $i = 0; @@ -213,18 +213,9 @@ class Wizard } $bc[$i] = ''; - - if ($separator_beginning === true) { - $bc[$i] .= ' / '; - } - - $bc[$i] .= ''; - $bc[$i] .= $url['label']; - $bc[$i] .= ''; - if ($count < $array_size) { - $bc[$i] .= ' / '; - } - + $bc[$i] .= ''; + $bc[$i] .= $url['label']; + $bc[$i] .= ''; $bc[$i] .= ''; $i++; @@ -275,7 +266,7 @@ class Wizard */ public function printBreadcrum() { - return implode('', $this->breadcrum); + return implode(' / ', $this->breadcrum); }