phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: infolog/inc class.soinfolog.inc.php,1.10.2.2,1.


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: infolog/inc class.soinfolog.inc.php,1.10.2.2,1.10.2.3 class.vfs.inc.php,1.3.2.3,1.3.2.4
Date: Fri, 04 Jul 2003 18:08:27 -0400

Update of /cvsroot/phpgroupware/infolog/inc
In directory subversions:/tmp/cvs-serv5013

Modified Files:
      Tag: Version-0_9_14-branch
        class.soinfolog.inc.php class.vfs.inc.php 
Log Message:
removed foreach for the php3-dinosaurs


Index: class.soinfolog.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/infolog/inc/class.soinfolog.inc.php,v
retrieving revision 1.10.2.2
retrieving revision 1.10.2.3
diff -C2 -r1.10.2.2 -r1.10.2.3
*** class.soinfolog.inc.php     2 Jul 2003 22:57:25 -0000       1.10.2.2
--- class.soinfolog.inc.php     4 Jul 2003 22:08:25 -0000       1.10.2.3
***************
*** 225,234 ****
                        {
                                $this->data = $this->db->Record;
!                               foreach($this->data as $key => $val)
                                {
-                                       if (is_numeric($key))
-                                       {
-                                               unset($this->data[$key]);
-                                       }
                                        $this->data[$key] = 
$GLOBALS['phpgw']->strip_html($val);
                                }
--- 225,231 ----
                        {
                                $this->data = $this->db->Record;
!                               reset($this->data);
!                               while(list($key,$val) = each($this->data))
                                {
                                        $this->data[$key] = 
$GLOBALS['phpgw']->strip_html($val);
                                }

Index: class.vfs.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/infolog/inc/class.vfs.inc.php,v
retrieving revision 1.3.2.3
retrieving revision 1.3.2.4
diff -C2 -r1.3.2.3 -r1.3.2.4
*** class.vfs.inc.php   3 Jul 2003 16:26:30 -0000       1.3.2.3
--- class.vfs.inc.php   4 Jul 2003 22:08:25 -0000       1.3.2.4
***************
*** 166,170 ****
                        $docroots = 
array(PHPGW_SERVER_ROOT,$GLOBALS['HTTP_SERVER_VARS']['DOCUMENT_ROOT']);
  
!                       foreach ($docroots as $docroot)
                        {
                                $len = strlen($docroot);
--- 166,171 ----
                        $docroots = 
array(PHPGW_SERVER_ROOT,$GLOBALS['HTTP_SERVER_VARS']['DOCUMENT_ROOT']);
  
!                       reset($docroots);
!                       while(list(,$docroot) = each($docroots))
                        {
                                $len = strlen($docroot);





reply via email to

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