using clone() to create copies of the db-object for php5 compatibility

This commit is contained in:
Ralf Becker 2005-02-08 17:58:25 +00:00
parent 7fe8459ced
commit c659d9e785

View File

@ -48,7 +48,7 @@
*/
function solink( )
{
$this->db = $GLOBALS['phpgw']->db;
$this->db = clone($GLOBALS['phpgw']->db);
$this->db->set_app('infolog');
$this->user = $GLOBALS['phpgw_info']['user']['account_id'];
}