From bd3bdae734b7e1344d33dc42d13b69247658a0da Mon Sep 17 00:00:00 2001 From: Christian Binder Date: Fri, 20 Nov 2009 10:37:11 +0000 Subject: [PATCH] fixed again wrong $this->owner to $this->user --- addressbook/inc/class.addressbook_bo.inc.php | 2 +- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addressbook/inc/class.addressbook_bo.inc.php b/addressbook/inc/class.addressbook_bo.inc.php index f7104b9728..cbb2b2afb8 100755 --- a/addressbook/inc/class.addressbook_bo.inc.php +++ b/addressbook/inc/class.addressbook_bo.inc.php @@ -1522,7 +1522,7 @@ class addressbook_bo extends addressbook_so { if (!is_object($this->categories)) { - $this->categories = new categories($this->owner,'addressbook'); + $this->categories = new categories($this->user,'addressbook'); } if($contact_id && $contact_id > 0) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 59a821a3b6..8ee76840a7 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -1608,7 +1608,7 @@ class addressbook_ui extends addressbook_bo { if (!is_object($this->categories)) { - $this->categories = new categories($this->owner,'addressbook'); + $this->categories = new categories($this->user,'addressbook'); } $category_ids = array(); foreach(explode(',',$content['cat_id']) as $cat_id)