[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [19049] Fix a notice
From: |
Caeies |
Subject: |
[Phpgroupware-cvs] [19049] Fix a notice |
Date: |
Wed, 04 Feb 2009 18:00:19 +0000 |
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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [19049] Fix a notice,
Caeies <=