fixed again wrong $this->owner to $this->user

This commit is contained in:
Christian Binder 2009-11-20 10:37:11 +00:00
parent 6e8f5f453d
commit bd3bdae734
2 changed files with 2 additions and 2 deletions

View File

@ -1522,7 +1522,7 @@ class addressbook_bo extends addressbook_so
{ {
if (!is_object($this->categories)) 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) if($contact_id && $contact_id > 0)

View File

@ -1608,7 +1608,7 @@ class addressbook_ui extends addressbook_bo
{ {
if (!is_object($this->categories)) if (!is_object($this->categories))
{ {
$this->categories = new categories($this->owner,'addressbook'); $this->categories = new categories($this->user,'addressbook');
} }
$category_ids = array(); $category_ids = array();
foreach(explode(',',$content['cat_id']) as $cat_id) foreach(explode(',',$content['cat_id']) as $cat_id)