mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
fixed problem reported by perci <tin_nospam-AT-oleco.net>: typo ->bo instead of ->contacts
This commit is contained in:
parent
6d8d3af2ab
commit
6a1a75adad
@ -243,7 +243,7 @@ class boaddressbook
|
||||
switch($from)
|
||||
{
|
||||
case 'grants[owner]':
|
||||
$data[$to] = $this->bo->grants[$data['owner']];
|
||||
$data[$to] = $this->contacts->grants[$data['owner']];
|
||||
break;
|
||||
|
||||
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;
|
||||
}
|
||||
// translate timestamps
|
||||
foreach($this->bo->timestamps as $name)
|
||||
foreach($this->contacts->timestamps as $name)
|
||||
{
|
||||
if(isset($data[$name]))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user