mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-17 03:51:21 +02:00
php3 fix
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user