diff --git a/phpgwapi/inc/class.vfs_versionsystem.inc.php b/phpgwapi/inc/class.vfs_versionsystem.inc.php index 4e17193fb2..4105161bcd 100644 --- a/phpgwapi/inc/class.vfs_versionsystem.inc.php +++ b/phpgwapi/inc/class.vfs_versionsystem.inc.php @@ -97,7 +97,7 @@ } $this->snapshotted_files = array(); - $this->db =& clone($GLOBALS['phpgw']->db); + $this->db = clone($GLOBALS['phpgw']->db); $this->now = date('Y-m-d H:i:s'); $this->account_id = $GLOBALS['phpgw_info']['user']['account_id']; $this->tmp_dir = $GLOBALS['phpgw_info']['server']['temp_dir'];