minor tweak to layout algo

git-svn-id: file:///home/shish/svn/shimmie2/trunk@309 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-07-16 22:12:25 +00:00
parent 24756c2a12
commit 55b604b908

View file

@ -218,7 +218,7 @@ class Setup extends Extension {
foreach($panel->blocks as $block) {
if(is_a($block, 'SetupBlock')) {
$html = $this->sb_to_html($block);
$len = count(explode("<br>", $html));
$len = count(explode("<br>", $html))+1;
if($len1 <= $len2) {
$setupblock_html1 .= $this->sb_to_html($block);
$len1 += $len;