diff --git a/phpgwapi/inc/common_functions.inc.php b/phpgwapi/inc/common_functions.inc.php index 128d6c70af..f947073eeb 100755 --- a/phpgwapi/inc/common_functions.inc.php +++ b/phpgwapi/inc/common_functions.inc.php @@ -878,7 +878,8 @@ { if(floor(phpversion()) > 4) { - $b = $a->__clone(); +// $b = $a->__clone(); + $b = clone $a; } else {