From 6e8f5f453d3e3f2dac75881e1fc4e15cb735beb6 Mon Sep 17 00:00:00 2001 From: Christian Binder Date: Fri, 20 Nov 2009 09:05:23 +0000 Subject: [PATCH] fixed categories var being initialized somewhere between nowhere and nirvana --- addressbook/inc/class.addressbook_bo.inc.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/addressbook/inc/class.addressbook_bo.inc.php b/addressbook/inc/class.addressbook_bo.inc.php index 0c08f31f4b..f7104b9728 100755 --- a/addressbook/inc/class.addressbook_bo.inc.php +++ b/addressbook/inc/class.addressbook_bo.inc.php @@ -119,6 +119,12 @@ class addressbook_bo extends addressbook_so * @var boolean */ var $default_private; + /** + * Categories object + * + * @var object + */ + var $categories; function __construct($contact_app='addressbook') { @@ -1503,8 +1509,6 @@ class addressbook_bo extends addressbook_so return $adr_format; } - var $categories; - /** * Find existing categories in database by name or add categories that do not exist yet * currently used for vcard import