phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: Sigurd Nes
Subject: [Phpgroupware-cvs] email/inc class.mail_msg_wrappers.inc.php
Date: Wed, 20 Dec 2006 14:54:21 +0000

CVSROOT:        /sources/phpgroupware
Module name:    email
Changes by:     Sigurd Nes <sigurdne>   06/12/20 14:54:21

Modified files:
        inc            : class.mail_msg_wrappers.inc.php 

Log message:
        dealing with arrays

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/email/inc/class.mail_msg_wrappers.inc.php?cvsroot=phpgroupware&r1=1.50&r2=1.51

Patches:
Index: class.mail_msg_wrappers.inc.php
===================================================================
RCS file: /sources/phpgroupware/email/inc/class.mail_msg_wrappers.inc.php,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -b -r1.50 -r1.51
--- class.mail_msg_wrappers.inc.php     17 Dec 2006 11:21:02 -0000      1.50
+++ class.mail_msg_wrappers.inc.php     20 Dec 2006 14:54:21 -0000      1.51
@@ -7,7 +7,7 @@
        * @copyright Copyright (C) 2003-2005 Free Software Foundation, Inc. 
http://www.fsf.org/
        * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General 
Public License
        * @package email
-       * @version $Id: class.mail_msg_wrappers.inc.php,v 1.50 2006/12/17 
11:21:02 sigurdne Exp $
+       * @version $Id: class.mail_msg_wrappers.inc.php,v 1.51 2006/12/20 
14:54:21 sigurdne Exp $
        * @internal Based on AngleMail http://www.anglemail.org/
        */
 
@@ -1905,16 +1905,24 @@
                        for ($x=0; $x < $this->buffered_move_commmands_count; 
$x++)
                        {
                                $this_move_balls = array();
-                               parse_str($this->buffered_move_commmands[$x], 
$this_move_balls);                                
+               //      _debug_array($this->buffered_move_commmands[$x]);
+               //              parse_str($this->buffered_move_commmands[$x], 
$this_move_balls); // now dealing with arrays
+                               $this_move_balls['mov_msgball']['acctnum']      
= $this->buffered_move_commmands[$x]['mov_msgball[acctnum]'];
+                               $this_move_balls['mov_msgball']['folder']       
= $this->buffered_move_commmands[$x]['mov_msgball[folder]'];
+                               $this_move_balls['to_fldball']['acctnum']       
= $this->buffered_move_commmands[$x]['to_fldball[acctnum]'];
+                               $this_move_balls['to_fldball']['folder']        
= $this->buffered_move_commmands[$x]['to_fldball[folder]'];
+                               $this_move_balls['mov_msgball']['msgnum']       
= $this->buffered_move_commmands[$x]['mov_msgball[msgnum]'];
+                       
                                if ($this->debug_wrapper_dcom_calls > 1) { 
$this->dbug->out(' * mail_msg(_wrappers): flush_buffered_move_commmands: loop 
['.$x.']: $this_move_balls: 
['.htmlspecialchars(serialize($this_move_balls)).']<br />'); }
                                // NOTE PARSE_STR ***WILL ADD SLASHES*** TO 
ESCAPE QUOTES
                                // NO MATTER WHAT YOUR MAGIC SLASHES SETTING IS
+                               
                                if ($this->debug_args_input_flow > 1) { 
$this->dbug->out(' * mail_msg(_wrappers): flush_buffered_move_commmands: loop 
['.$x.']: NOTE PARSE_STR ***WILL ADD SLASHES*** TO ESCAPE QUOTES NO MATTER WHAT 
YOUR MAGIC SLASHES SETTING IS **stripping slashes NOW***'); } 
-                               if 
(isset($this_move_balls['mov_msgball']['folder']))
+                               if ($this_move_balls['mov_msgball']['folder'])
                                {
                                        
$this_move_balls['mov_msgball']['folder'] = 
stripslashes($this_move_balls['mov_msgball']['folder']);
                                }
-                               if 
(isset($this_move_balls['to_fldball']['folder']))
+                               if ($this_move_balls['to_fldball']['folder'])
                                {
                                        
$this_move_balls['to_fldball']['folder'] = 
stripslashes($this_move_balls['to_fldball']['folder']);
                                }




reply via email to

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