BUG 9369 In debug mode the content of an array variable is not display SOLVED

- When using debug, in a process that has an array variable. in the List of variables the array content is not display.
- Fixbug of the return value when the element is a array or object in debug window.
This commit is contained in:
Hector Cortez
2012-07-09 12:22:57 -04:00
parent 6322f9f923
commit 0683a589f9

View File

@@ -82,11 +82,8 @@ switch($request){
$return_object->totalCount=1;
foreach ($aVariables as $i=>$var) {
if( is_object($var) ){
$aVariables[$i] = '<object>';
}
if( is_array($var) ){
$aVariables[$i] = '<array>';
if( is_array($var) || is_object($var) ) {
$aVariables[$i] = print_r($var, true);
}
}