Skip to content

Commit f78fcce

Browse files
Forgot the ob_start() in the navbar helper method
1 parent 460f033 commit f78fcce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

helpers/TbHtml.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -1945,6 +1945,7 @@ public static function navbar($content, $htmlOptions = array())
19451945
$htmlOptions = self::addClassName('navbar-' . $style, $htmlOptions);
19461946
$innerOptions = self::popOption('innerOptions', $htmlOptions, array());
19471947
$innerOptions = self::addClassName('navbar-inner', $innerOptions);
1948+
ob_start();
19481949
echo parent::openTag('div', $htmlOptions) . PHP_EOL;
19491950
echo parent::tag('div', $innerOptions, $content) . PHP_EOL;
19501951
echo '</div>' . PHP_EOL;
@@ -2947,4 +2948,4 @@ public static function getNextId()
29472948
{
29482949
return 'tb' . self::$_counter++;
29492950
}
2950-
}
2951+
}

0 commit comments

Comments
 (0)