phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: Caeies
Subject: [Phpgroupware-cvs] phpgwapi/inc class.preferences.inc.php
Date: Sun, 10 Sep 2006 16:57:46 +0000

CVSROOT:        /cvsroot/phpgwapi
Module name:    phpgwapi
Changes by:     Caeies <Caeies> 06/09/10 16:57:46

Modified files:
        inc            : class.preferences.inc.php 

Log message:
        E_ALL fix for cache_phpgw_info not setted

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.preferences.inc.php?cvsroot=phpgwapi&r1=1.63&r2=1.64

Patches:
Index: class.preferences.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.preferences.inc.php,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -b -r1.63 -r1.64
--- class.preferences.inc.php   3 Sep 2006 11:14:42 -0000       1.63
+++ class.preferences.inc.php   10 Sep 2006 16:57:46 -0000      1.64
@@ -7,7 +7,7 @@
         * @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General 
Public License
         * @package phpgwapi
         * @subpackage application
-        * @version $Id: class.preferences.inc.php,v 1.63 2006/09/03 11:14:42 
skwashd Exp $
+        * @version $Id: class.preferences.inc.php,v 1.64 2006/09/10 16:57:46 
Caeies Exp $
         */
 
        /**
@@ -594,7 +594,7 @@
                                $GLOBALS['phpgw']->session->save_repositories();
                        }
 
-                       if (($type == 'user' || !$type) && 
$GLOBALS['phpgw_info']['server']['cache_phpgw_info'] && $this->account_id == 
$GLOBALS['phpgw_info']['user']['account_id'])
+                       if (($type == 'user' || !$type) && 
isset($GLOBALS['phpgw_info']['server']['cache_phpgw_info']) && 
$GLOBALS['phpgw_info']['server']['cache_phpgw_info']  && $this->account_id == 
$GLOBALS['phpgw_info']['user']['account_id'])
                        {
                                
$GLOBALS['phpgw']->session->delete_cache($this->account_id);
                                
$GLOBALS['phpgw']->session->read_repositories(False);




reply via email to

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