This commit is contained in:
seek3r
2001-01-17 04:53:14 +00:00
parent 051325b3d9
commit 94ec5b8661
3 changed files with 3 additions and 5 deletions

View File

@ -45,8 +45,7 @@
$phpgw_info["flags"]["included_classes"][$classname] = True;
include($phpgw_info["server"]["include_root"]."/".$appname."/inc/class.".$classname.".inc.php");
}
// if ($constructor_param == ""){ $obj = new $classname; }else{$obj = new $classname($constructor_param); }
$obj = new $classname($constructor_param);
if ($constructor_param == ""){ $obj = new $classname; }else{$obj = new $classname($constructor_param); }
return $obj;
}