From: Jan Schneider Date: Tue, 18 May 2010 11:17:16 +0000 (+0200) Subject: Fix undefined variable if catching an exception. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7ec1d18fc3b2a7c54cb0730e5d4c867951758020;p=horde.git Fix undefined variable if catching an exception. --- diff --git a/framework/Block/lib/Horde/Block/Layout/View.php b/framework/Block/lib/Horde/Block/Layout/View.php index f067c3b5c..e94b96073 100644 --- a/framework/Block/lib/Horde/Block/Layout/View.php +++ b/framework/Block/lib/Horde/Block/Layout/View.php @@ -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'];