When more than one feed link was given, the links was concat without a
space, which looks odd. Adding now a space, between each link in the
toolbox.
Bug: 36356
Change-Id: Iaf61c88dde0a92c475a60c005e13222eb7618eef
*/
function makeListItem( $key, $item, $options = array() ) {
if ( isset( $item['links'] ) ) {
*/
function makeListItem( $key, $item, $options = array() ) {
if ( isset( $item['links'] ) ) {
foreach ( $item['links'] as $linkKey => $link ) {
foreach ( $item['links'] as $linkKey => $link ) {
- $html .= $this->makeLink( $linkKey, $link, $options );
+ $links[] = $this->makeLink( $linkKey, $link, $options );
+ $html = implode( ' ', $links );
} else {
$link = $item;
// These keys are used by makeListItem and shouldn't be passed on to the link
} else {
$link = $item;
// These keys are used by makeListItem and shouldn't be passed on to the link