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: Dave Hall
Subject: [Phpgroupware-cvs] phpgwapi/inc class.preferences.inc.php
Date: Mon, 02 Oct 2006 10:11:00 +0000

CVSROOT:        /cvsroot/phpgwapi
Module name:    phpgwapi
Changes by:     Dave Hall <skwashd>     06/10/02 10:11:00

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

Log message:
        notice

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

Patches:
Index: class.preferences.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.preferences.inc.php,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -b -r1.65 -r1.66
--- class.preferences.inc.php   18 Sep 2006 00:55:59 -0000      1.65
+++ class.preferences.inc.php   2 Oct 2006 10:11:00 -0000       1.66
@@ -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.65 2006/09/18 00:55:59 
skwashd Exp $
+        * @version $Id: class.preferences.inc.php,v 1.66 2006/10/02 10:11:00 
skwashd Exp $
         */
 
        /**
@@ -413,9 +413,16 @@
                        }
                        else
                        {
+                               if ( isset($this->{$type}[$app_name][$var]) )
+                               {
                                unset($this->{$type}[$app_name][$var]);
+                               }
+
+                               if ( isset($this->data[$app_name][$var]) )
+                               {
                                unset($this->data[$app_name][$var]);
                        }
+                       }
                        // set the effectiv pref again if needed
                        //
                        foreach ($set_via[$type] as $set_from)




reply via email to

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