phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: setup/inc functions.inc.php,1.41.2.1,1.41.2.2


From: Dan Kuykendall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: setup/inc functions.inc.php,1.41.2.1,1.41.2.2
Date: Thu, 07 Feb 2002 02:21:32 -0500

Update of /cvsroot/phpgroupware/setup/inc
In directory subversions:/tmp/cvs-serv30195

Modified Files:
      Tag: Version-0_9_14-branch
        functions.inc.php 
Log Message:
fixed debug array to be nicer

Index: functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/inc/functions.inc.php,v
retrieving revision 1.41.2.1
retrieving revision 1.41.2.2
diff -C2 -r1.41.2.1 -r1.41.2.2
*** functions.inc.php   14 Jan 2002 12:14:17 -0000      1.41.2.1
--- functions.inc.php   7 Feb 2002 07:21:30 -0000       1.41.2.2
***************
*** 228,232 ****
                else
                {
!                       echo '<pre>'; var_dump($array); echo '</pre>';
                }
        }
--- 228,246 ----
                else
                {
!                       if(gettype($array)=="array")
!                       {
!                               echo '<ul>';
!                               while (list($index, $subarray) = each($array) )
!                               {
!                                       echo '<li>'.$index.' 
<code>=&gt;</code>';
!                                       _debug_array($subarray);
!                                       echo '</li>';
!                               }
!                               echo '</ul>';
!                       }
!                       else
!                       {
!                               echo $array;
!                       }
                }
        }




reply via email to

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