trying to fix a php4-only error (?)

This commit is contained in:
Miles Lott 2001-09-05 23:19:06 +00:00
parent 56ef840422
commit e859918f83

View File

@ -103,17 +103,7 @@
'owner' => 'owner'
);
/* Used to flag an address as being:
domestic AND/OR international(default)
parcel(default)
postal(default)
*/
var $adr_types = array(
'dom' => lang('Domestic'),
'intl' => lang('International'),
'parcel' => lang('Parcel'),
'postal' => lang('Postal')
);
var $adr_types = array();
/* Used to set preferred number field */
var $tel_types = array(
@ -156,6 +146,18 @@
$this->grants = $GLOBALS['phpgw']->acl->get_grants('addressbook');
}
$this->account_id = $GLOBALS['phpgw_info']['user']['account_id'];
/* Used to flag an address as being:
domestic AND/OR international(default)
parcel(default)
postal(default)
*/
$this->adr_types = array(
'dom' => lang('Domestic'),
'intl' => lang('International'),
'parcel' => lang('Parcel'),
'postal' => lang('Postal')
);
}
/* send this the id and whatever fields you want to see */