mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
as php 5.2+ assigns objects by reference, internal data would change
This commit is contained in:
parent
6d3776f2ec
commit
e9b14d12f0
@ -111,9 +111,9 @@ class infolog_so
|
||||
elseif ((int) $info != $this->data['info_id']) // already loaded?
|
||||
{
|
||||
// dont change our own internal data,
|
||||
// dont use new as it changes $phpgw->db
|
||||
$private_info = $this;
|
||||
$info = $private_info->read($info);
|
||||
$backup_data = $this->data;
|
||||
$info = $this->read($info);
|
||||
$this->data = $backup_data;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user