and another one
git-svn-id: file:///home/shish/svn/shimmie2/trunk@999 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
d43edb8c7f
commit
2a6c087179
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class SetupTheme extends Themelet {
|
|||
$len1 = 0;
|
||||
$len2 = 0;
|
||||
foreach($panel->blocks as $block) {
|
||||
if(is_a($block, 'SetupBlock')) {
|
||||
if($block instanceof SetupBlock) {
|
||||
$html = $this->sb_to_html($block);
|
||||
$len = count(explode("<br>", $html))+1;
|
||||
if($len1 <= $len2) {
|
||||
|
|
Reference in a new issue