Fix undefined variable if catching an exception.
authorJan Schneider <jan@horde.org>
Tue, 18 May 2010 11:17:16 +0000 (13:17 +0200)
committerJan Schneider <jan@horde.org>
Tue, 18 May 2010 16:30:36 +0000 (18:30 +0200)
framework/Block/lib/Horde/Block/Layout/View.php

index f067c3b..e94b960 100644 (file)
@@ -68,6 +68,7 @@ class Horde_Block_Layout_View extends Horde_Block_Layout
                 }
                 if (is_array($item)) {
                     $this->_applications[$item['app']] = $item['app'];
+                    $rowspan = $colspan = 1;
                     try {
                         $block = Horde_Block_Collection::getBlock($item['app'], $item['params']['type'], $item['params']['params'], $row_num, $col_num);
                         $rowspan = $item['height'];