Call parent ctor.
authorJan Schneider <jan@horde.org>
Tue, 5 Oct 2010 01:06:07 +0000 (03:06 +0200)
committerJan Schneider <jan@horde.org>
Tue, 12 Oct 2010 17:01:02 +0000 (19:01 +0200)
framework/Block/lib/Horde/Block/Layout/Manager.php
framework/Block/lib/Horde/Block/Layout/View.php

index 9cb7635..fc97da6 100644 (file)
@@ -103,6 +103,7 @@ class Horde_Block_Layout_Manager extends Horde_Block_Layout
      */
     function __construct($collection, $layout = array())
     {
+        parent::__construct();
         $this->_collection = $collection;
         $this->_layout = $layout;
         $this->_editUrl = Horde::selfUrl();
index d206592..ef9f834 100644 (file)
@@ -41,6 +41,7 @@ class Horde_Block_Layout_View extends Horde_Block_Layout
     public function __construct($layout = array(), $editUrl = '',
                                 $viewUrl = '')
     {
+        parent::__construct();
         $this->_layout = $layout;
         $this->_editUrl = $editUrl;
         $this->_viewUrl = $viewUrl;