From 804df769d5cd6b1bf6bf91c85fc6638956de12dc Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 12 Mar 2014 17:15:48 +0000 Subject: [PATCH] fixed IDE warnings --- phpgwapi/inc/class.hooks.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.hooks.inc.php b/phpgwapi/inc/class.hooks.inc.php index f88ed0ba63..2f5a640b26 100644 --- a/phpgwapi/inc/class.hooks.inc.php +++ b/phpgwapi/inc/class.hooks.inc.php @@ -73,7 +73,7 @@ class hooks */ function hooks($db=null) { - self::__construct(); + self::__construct($db); } /** @@ -279,6 +279,7 @@ class hooks $setup_info = array($appname => array()); if(@file_exists($f)) include($f); // some apps have setup_info for more then themselfs (eg. phpgwapi for groupdav) + $hdata = array(); foreach($setup_info as $appname => $data) { if ($data['hooks'])