mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
using clone() to create copies of the db-object for php5 compatibility
This commit is contained in:
parent
7fe8459ced
commit
c659d9e785
@ -48,7 +48,7 @@
|
|||||||
*/
|
*/
|
||||||
function solink( )
|
function solink( )
|
||||||
{
|
{
|
||||||
$this->db = $GLOBALS['phpgw']->db;
|
$this->db = clone($GLOBALS['phpgw']->db);
|
||||||
$this->db->set_app('infolog');
|
$this->db->set_app('infolog');
|
||||||
$this->user = $GLOBALS['phpgw_info']['user']['account_id'];
|
$this->user = $GLOBALS['phpgw_info']['user']['account_id'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user