Skip to content

Commit a33c07c

Browse files
committed
Added return value without any styling if needed
1 parent 2d96475 commit a33c07c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

phpmyfaq/inc/Category.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -840,12 +840,14 @@ public function getPath($id, $separator = ' » ', $renderAsMicroData = fals
840840
}
841841

842842
$temp = $breadcrumb;
843-
}
844843

845-
return '<ul class="breadcrumb">'. implode(
846-
'<span class="divider">' . $separator . '</span>',
847-
$temp
848-
) . '</ul>';
844+
return '<ul class="breadcrumb">'. implode(
845+
'<span class="divider">' . $separator . '</span>',
846+
$temp
847+
) . '</ul>';
848+
} else {
849+
return implode($separator, $temp);
850+
}
849851
}
850852

851853
/**

0 commit comments

Comments
 (0)