Fixed a problem where the type was trying to be changed from String to Array in hook(). That normally wouldn't work in php3.

This commit is contained in:
skeeter 2001-06-08 01:43:36 +00:00
parent 1dd9c8edfe
commit 8af3bb58e6

View File

@ -919,6 +919,7 @@
global $phpgw, $phpgw_info; global $phpgw, $phpgw_info;
if ($order == '') if ($order == '')
{ {
settype($order,'array');
$order[] = $phpgw_info['flags']['currentapp']; $order[] = $phpgw_info['flags']['currentapp'];
} }