phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] email/inc class.bopreferences.inc.php


From: Caeies
Subject: [Phpgroupware-cvs] email/inc class.bopreferences.inc.php
Date: Wed, 24 Jan 2007 17:19:38 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    email
Changes by:     Caeies <Caeies> 07/01/24 17:19:38

Modified files:
        inc            : class.bopreferences.inc.php 

Log message:
        E_ALL fixes

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/email/inc/class.bopreferences.inc.php?cvsroot=phpgroupware&r1=1.26&r2=1.27

Patches:
Index: class.bopreferences.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/email/inc/class.bopreferences.inc.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- class.bopreferences.inc.php 11 May 2005 18:06:59 -0000      1.26
+++ class.bopreferences.inc.php 24 Jan 2007 17:19:37 -0000      1.27
@@ -8,7 +8,7 @@
        * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package email
-       * @version $Id: class.bopreferences.inc.php,v 1.26 2005/05/11 18:06:59 
powerstat Exp $
+       * @version $Id: class.bopreferences.inc.php,v 1.27 2007/01/24 17:19:37 
Caeies Exp $
        * @internal Based on AngleMail http://www.anglemail.org/
        */
 
@@ -926,7 +926,7 @@
                                        
                                        // so how do we handle this, for this 
pref...
                                        if ($this->debug_set_prefs > 1) { 
$this->msg->dbug->out('email: bopreferences: process_submitted_prefs: 
submitted_pref for ["'.$this_pref['id'].'"] not set or empty string<br />'); }
-                                       if (stristr($this_pref['write_props'], 
'empty_no_delete'))
+                                       if (isset($this_pref['write_props']) && 
stristr($this_pref['write_props'], 'empty_no_delete'))
                                        {
                                                // DO NOT DELETE
                                                // "empty_no_delete" means keep 
the existing pref un-molested, as-is, no change
@@ -935,7 +935,7 @@
                                                // Typical Usage: passwords
                                                if ($this->debug_set_prefs > 1) 
{ $this->msg->dbug->out('email: bopreferences: no change to repository for 
empty or blank ["'.$this_pref['id'].'"] because of "empty_no_delete"<br />'); }
                                        }
-                                       elseif 
(stristr($this_pref['write_props'], 'empty_string_ok'))
+                                       elseif 
(isset($this_pref['write_props']) && stristr($this_pref['write_props'], 
'empty_string_ok'))
                                        {
                                                // "empty_string_ok" means a 
blank string "" IS a VALID pref value
                                                // i.e. this pref can take an 
empty string as a valid value




reply via email to

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