From 6a1a75adad90601096cd3d06ed78d6936bca1e16 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 24 Sep 2007 07:06:23 +0000 Subject: [PATCH] fixed problem reported by perci : typo ->bo instead of ->contacts --- addressbook/inc/class.boaddressbook.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addressbook/inc/class.boaddressbook.inc.php b/addressbook/inc/class.boaddressbook.inc.php index c73276c753..35c67e30c9 100644 --- a/addressbook/inc/class.boaddressbook.inc.php +++ b/addressbook/inc/class.boaddressbook.inc.php @@ -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])) {