phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc class.common.inc.php


From: Caeies
Subject: [Phpgroupware-cvs] phpgwapi/inc class.common.inc.php
Date: Mon, 25 Sep 2006 14:12:29 +0000

CVSROOT:        /cvsroot/phpgwapi
Module name:    phpgwapi
Changes by:     Caeies <Caeies> 06/09/25 14:12:28

Modified files:
        inc            : class.common.inc.php 

Log message:
        small E_ALL fixes

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.common.inc.php?cvsroot=phpgwapi&r1=1.244&r2=1.245

Patches:
Index: class.common.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.common.inc.php,v
retrieving revision 1.244
retrieving revision 1.245
diff -u -b -r1.244 -r1.245
--- class.common.inc.php        19 Sep 2006 21:11:22 -0000      1.244
+++ class.common.inc.php        25 Sep 2006 14:12:28 -0000      1.245
@@ -8,7 +8,7 @@
        * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General 
Public License
        * @package phpgwapi
        * @subpackage utilities
-       * @version $Id: class.common.inc.php,v 1.244 2006/09/19 21:11:22 
sigurdne Exp $
+       * @version $Id: class.common.inc.php,v 1.245 2006/09/25 14:12:28 Caeies 
Exp $
        */
 
        /**
@@ -1008,7 +1008,7 @@
                        $GLOBALS['phpgw_info']['navbar']['home']['icon_hover']  
= $this->image_on('phpgwapi',Array('home','nonav'),'-over');
 
                        list($first) = 
each($GLOBALS['phpgw_info']['user']['apps']);
-                       
if(is_array($GLOBALS['phpgw_info']['user']['apps']['admin']) && $first != 
'admin')
+                       
if(isset($GLOBALS['phpgw_info']['user']['apps']['admin']) && 
is_array($GLOBALS['phpgw_info']['user']['apps']['admin']) && $first != 'admin')
                        {
                                $newarray['admin'] = 
$GLOBALS['phpgw_info']['user']['apps']['admin'];
                                foreach($GLOBALS['phpgw_info']['user']['apps'] 
as $index => $value)
@@ -1065,7 +1065,7 @@
                                $app_title = 
$GLOBALS['phpgw_info']['apps'][$app]['title'];
                        }
 
-                       if 
($GLOBALS['phpgw_info']['user']['apps']['preferences'])      // preferences last
+                       if 
(isset($GLOBALS['phpgw_info']['user']['apps']['preferences']) && 
$GLOBALS['phpgw_info']['user']['apps']['preferences'])      // preferences last
                        {
                                $prefs = 
$GLOBALS['phpgw_info']['navbar']['preferences'];
                                
unset($GLOBALS['phpgw_info']['navbar']['preferences']);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]