forked from extern/egroupware
make clone working with PHP5 too
This commit is contained in:
parent
ec9361225a
commit
399618a7b6
@ -1243,9 +1243,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