Replace refs with copies to avoid php3 problems, i hope

This commit is contained in:
Miles Lott 2001-07-09 18:06:03 +00:00
parent 5df37c28ff
commit 3ee4ab412a
3 changed files with 12 additions and 13 deletions

View File

@ -21,7 +21,6 @@
'add_entry' => True,
'add_vcard' => True,
'add_email' => True,
'copy_entry' => True,
'update_entry' => True
);
@ -197,7 +196,7 @@
. $phpgw->link('/addressbook/main.php',"menuaction=addressbook.uiaddressbook.view&ab_id=$ab_id&referer=$referer"));
}
function copy_entry($ab_id)
function OLDcopy_entry($ab_id)
{
global $phpgw,$phpgw_info;

View File

@ -23,7 +23,7 @@
$phpgw->contacts = CreateObject('phpgwapi.contacts');
$this->contacts = &$phpgw->contacts;
$this->contacts = $phpgw->contacts;
$this->rights = $rights;
}

View File

@ -57,19 +57,19 @@
$phpgw->nextmatchs = CreateObject('phpgwapi.nextmatchs');
$this->bo = CreateObject('addressbook.boaddressbook',True);
$this->template = &$phpgw->template;
$this->contacts = &$phpgw->contacts;
$this->template = $phpgw->template;
$this->contacts = $this->bo->so->contacts;
$this->cat = CreateObject('phpgwapi.categories');
$this->company = CreateObject('phpgwapi.categories','addressbook_company');
$this->prefs = &$phpgw_info['user']['preferences']['addressbook'];
$this->prefs = $phpgw_info['user']['preferences']['addressbook'];
$this->start = &$this->bo->start;
$this->limit = &$this->bo->limit;
$this->query = &$this->bo->query;
$this->sort = &$this->bo->sort;
$this->order = &$this->bo->order;
$this->filter = &$this->bo->filter;
$this->cat_id = &$this->bo->cat_id;
$this->start = $this->bo->start;
$this->limit = $this->bo->limit;
$this->query = $this->bo->query;
$this->sort = $this->bo->sort;
$this->order = $this->bo->order;
$this->filter = $this->bo->filter;
$this->cat_id = $this->bo->cat_id;
if($this->debug) { $this->_debug_sqsof(); }
/* _debug_array($this); */
}