mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-18 11:21:23 +01:00
make the clone hack working with PHP5 too
This commit is contained in:
parent
75c15475bd
commit
a0cfcc38e4
@ -1247,9 +1247,11 @@
|
|||||||
/**
|
/**
|
||||||
* clone function for php4, use as $new_obj = clone($old_obj);
|
* clone function for php4, use as $new_obj = clone($old_obj);
|
||||||
*/
|
*/
|
||||||
|
eval('
|
||||||
function clone($obj)
|
function clone($obj)
|
||||||
{
|
{
|
||||||
return $obj;
|
return $obj;
|
||||||
}
|
}
|
||||||
|
');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user