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:
parent
24756c2a12
commit
55b604b908
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue