mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
Now using copyobj() - please advise if it breaks and how
This commit is contained in:
parent
2da29d2861
commit
dec0934ee3
@ -140,7 +140,8 @@
|
||||
|
||||
function contacts_($useacl=True)
|
||||
{
|
||||
$this->db = $GLOBALS['phpgw']->db;
|
||||
// $this->db = $GLOBALS['phpgw']->db;
|
||||
copyobj($GLOBALS['phpgw']->db,$this->db);
|
||||
if($useacl)
|
||||
{
|
||||
$this->grants = $GLOBALS['phpgw']->acl->get_grants('addressbook');
|
||||
@ -505,7 +506,8 @@
|
||||
}
|
||||
if ($DEBUG) { echo '<br>' . $sql; }
|
||||
|
||||
$db2 = $this->db;
|
||||
// $db2 = $this->db;
|
||||
copyobj($this->db,$db2);
|
||||
|
||||
$this->db->query($sql,__LINE__,__FILE__);
|
||||
$this->total_records = $this->db->num_rows();
|
||||
|
Loading…
Reference in New Issue
Block a user