fixed problem reported by perci <tin_nospam-AT-oleco.net>: typo ->bo instead of ->contacts

This commit is contained in:
Ralf Becker 2007-09-24 07:05:29 +00:00
parent 3beb483c09
commit f146332a3e

View File

@ -243,7 +243,7 @@ class boaddressbook
switch($from) switch($from)
{ {
case 'grants[owner]': case 'grants[owner]':
$data[$to] = $this->bo->grants[$data['owner']]; $data[$to] = $this->contacts->grants[$data['owner']];
break; break;
case 'private': case 'private':
@ -301,7 +301,7 @@ class boaddressbook
$data['bday'] = $arr['year'] && $arr['month'] && $arr['mday'] ? sprintf('%04d-%02d-%02d',$arr['year'],$arr['month'],$arr['mday']) : null; $data['bday'] = $arr['year'] && $arr['month'] && $arr['mday'] ? sprintf('%04d-%02d-%02d',$arr['year'],$arr['month'],$arr['mday']) : null;
} }
// translate timestamps // translate timestamps
foreach($this->bo->timestamps as $name) foreach($this->contacts->timestamps as $name)
{ {
if(isset($data[$name])) if(isset($data[$name]))
{ {