diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php index af54650e46..bc06566b54 100644 --- a/phpgwapi/inc/functions.inc.php +++ b/phpgwapi/inc/functions.inc.php @@ -588,7 +588,20 @@ /* Just a wrapper to my new print_r() function I added to the php3 support file. Seek3r */ function _debug_array($array) { + $four = False; + if(@floor(phpversion()) == 4) + { + $four = True; + } + if($four) + { + echo '
'; + } print_r($array); + if($four) + { + echo ''; + } } /*!