From 8c301efe4485857d9d33a787b445426acd68e1e8 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Tue, 3 Feb 2004 06:06:54 +0000 Subject: [PATCH] Fix error for Bug #887735, although there must be another problem --- phpgwapi/inc/class.hooks.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpgwapi/inc/class.hooks.inc.php b/phpgwapi/inc/class.hooks.inc.php index abbcfd1535..e7ae782705 100644 --- a/phpgwapi/inc/class.hooks.inc.php +++ b/phpgwapi/inc/class.hooks.inc.php @@ -94,6 +94,7 @@ { $apps = $GLOBALS['phpgw_info']['user']['apps']; } + settype($apps,'array'); foreach($apps as $app) { $appname = $app['name'];