forked from extern/egroupware
using clone() to create copies of the db-object for php5 compatibility
This commit is contained in:
parent
c659d9e785
commit
a9ea2f8cf9
@ -76,7 +76,7 @@
|
||||
*/
|
||||
function soetemplate($name='',$template='',$lang='',$group=0,$version='',$rows=1,$cols=1)
|
||||
{
|
||||
$this->db = $GLOBALS['phpgw']->db;
|
||||
$this->db = clone($GLOBALS['phpgw']->db);
|
||||
$this->db_cols = $this->db_key_cols + $this->db_data_cols;
|
||||
|
||||
if (empty($name))
|
||||
|
Loading…
Reference in New Issue
Block a user