Revision: 19049
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=19049
Author: Caeies
Date: 2009-02-04 18:00:14 +0000 (Wed, 04 Feb 2009)
Log Message:
-----------
Fix a notice
Modified Paths:
--------------
core/trunk/addressbook/inc/class.uiaddressbook.inc.php
Modified: core/trunk/addressbook/inc/class.uiaddressbook.inc.php
===================================================================
--- core/trunk/addressbook/inc/class.uiaddressbook.inc.php 2009-02-04
17:59:41 UTC (rev 19048)
+++ core/trunk/addressbook/inc/class.uiaddressbook.inc.php 2009-02-04
18:00:14 UTC (rev 19049)
@@ -116,7 +116,7 @@
$this->template =&
$GLOBALS['phpgw']->template;
$this->cat =
CreateObject('phpgwapi.categories');
$this->company =
CreateObject('phpgwapi.categories','addressbook_company');
- $this->prefs =
$GLOBALS['phpgw_info']['user']['preferences']['addressbook'];
+ $this->prefs =
isset($GLOBALS['phpgw_info']['user']['preferences']['addressbook']) ?
$GLOBALS['phpgw_info']['user']['preferences']['addressbook'] : array();
$this->owner =
$GLOBALS['phpgw_info']['user']['account_id'];
$this->contact_type =
$this->bo->contact_type;
_______________________________________________
phpGroupWare-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs