forked from extern/egroupware
php3 fixes
This commit is contained in:
parent
55652f386a
commit
ea3e4e4d30
@ -36,7 +36,7 @@
|
||||
{
|
||||
global $phpgw;
|
||||
|
||||
$this->contacts = &$phpgw->contacts;
|
||||
$this->contacts = $phpgw->contacts;
|
||||
$this->so = CreateObject('addressbook.soaddressbook');
|
||||
if($session)
|
||||
{
|
||||
|
@ -900,7 +900,7 @@
|
||||
$ot = 'one_'.$type;
|
||||
eval("
|
||||
if (\$$ot=='on') {
|
||||
\$badrtype \.= ' value=\"on\" checked';
|
||||
\$badrtype .= ' value=\"on\" checked';
|
||||
}
|
||||
");
|
||||
$badrtype .= '>'.$val;
|
||||
@ -913,7 +913,7 @@
|
||||
$tt = 'two_'.$type;
|
||||
eval("
|
||||
if (\$$tt=='on') {
|
||||
\$hadrtype \.= ' value=\"on\" checked';
|
||||
\$hadrtype .= ' value=\"on\" checked';
|
||||
}
|
||||
");
|
||||
$hadrtype .= '>'.$val;
|
||||
|
@ -35,8 +35,9 @@
|
||||
function uivcard()
|
||||
{
|
||||
global $phpgw;
|
||||
$this->template = &$phpgw->template;
|
||||
$this->contacts = &$phpgw->contacts;
|
||||
|
||||
$this->template = $phpgw->template;
|
||||
$this->contacts = CreateObject('phpgwapi.contacts');
|
||||
$this->browser = CreateObject('phpgwapi.browser');
|
||||
$this->vcard = CreateObject('phpgwapi.vcard');
|
||||
$this->bo = CreateObject('addressbook.boaddressbook',True);
|
||||
|
Loading…
Reference in New Issue
Block a user