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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user