and another one

git-svn-id: file:///home/shish/svn/shimmie2/trunk@999 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-08-23 11:09:24 +00:00
parent d43edb8c7f
commit 2a6c087179

View file

@ -25,7 +25,7 @@ class SetupTheme extends Themelet {
$len1 = 0; $len1 = 0;
$len2 = 0; $len2 = 0;
foreach($panel->blocks as $block) { foreach($panel->blocks as $block) {
if(is_a($block, 'SetupBlock')) { if($block instanceof SetupBlock) {
$html = $this->sb_to_html($block); $html = $this->sb_to_html($block);
$len = count(explode("<br>", $html))+1; $len = count(explode("<br>", $html))+1;
if($len1 <= $len2) { if($len1 <= $len2) {