From 7e4189916ea3368bac720ac6120fa8466f04df2a Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sun, 15 Jul 2001 13:49:37 +0000 Subject: [PATCH] Rollback changes pending further tests --- phpgwapi/inc/functions.inc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php index 1e6cf0215d..9c21275d3b 100644 --- a/phpgwapi/inc/functions.inc.php +++ b/phpgwapi/inc/functions.inc.php @@ -40,7 +40,8 @@ @param $classname name of class @param $p1-$p16 class parameters (all optional) */ - function CreateObject($classname, $p1='',$p2='',$p3='',$p4='',$p5='',$p6='',$p7='',$p8='',$p9='',$p10='',$p11='',$p12='',$p13='',$p14='',$p15='',$p16='') + function CreateObject($classname, $p1='') +/* function CreateObject($classname, $p1='',$p2='',$p3='',$p4='',$p5='',$p6='',$p7='',$p8='',$p9='',$p10='',$p11='',$p12='',$p13='',$p14='',$p15='',$p16='')*/ { global $phpgw, $phpgw_info, $phpgw_domain; $classpart = explode (".", $classname); @@ -58,7 +59,8 @@ } else { - $obj = new $classname($p1,$p2,$p3,$p4,$p5,$p6,$p7,$p8,$p9,$p10,$p11,$p12,$p13,$p14,$p15,$p16); + /* $obj = new $classname($p1,$p2,$p3,$p4,$p5,$p6,$p7,$p8,$p9,$p10,$p11,$p12,$p13,$p14,$p15,$p16); */ + $obj = new $classname($p1); } return $obj; }