diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php index eb07b15be8..3df18b42ec 100644 --- a/phpgwapi/inc/functions.inc.php +++ b/phpgwapi/inc/functions.inc.php @@ -167,7 +167,14 @@ function _debug_array($array) { - echo '
'; print_r($array); echo '
'; + if(floor(phpversion()) == 4) + { + echo '
'; print_r($array); echo '
'; + } + else + { + echo '
'; var_dump($array); echo '
'; + } } function print_debug($text='')