From 40e563473997ce6ffb248882a67be66e3eec9598 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 24 Mar 2006 17:26:27 +0000 Subject: [PATCH] fixed reference with clone, thanks to jpingle from the user-list --- phpgwapi/inc/class.vfs_versionsystem.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];