From 8af3bb58e6c68a1c65713e07c57f75d841d593e2 Mon Sep 17 00:00:00 2001 From: skeeter Date: Fri, 8 Jun 2001 01:43:36 +0000 Subject: [PATCH] Fixed a problem where the type was trying to be changed from String to Array in hook(). That normally wouldn't work in php3. --- phpgwapi/inc/class.common.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index 8744e2bbce..3c35aba001 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -919,6 +919,7 @@ global $phpgw, $phpgw_info; if ($order == '') { + settype($order,'array'); $order[] = $phpgw_info['flags']['currentapp']; }