diff --git a/workflow/engine/methods/cases/debug_vars.php b/workflow/engine/methods/cases/debug_vars.php index 32b8b3a28..dbdc97d08 100755 --- a/workflow/engine/methods/cases/debug_vars.php +++ b/workflow/engine/methods/cases/debug_vars.php @@ -82,11 +82,8 @@ switch($request){ $return_object->totalCount=1; foreach ($aVariables as $i=>$var) { - if( is_object($var) ){ - $aVariables[$i] = ''; - } - if( is_array($var) ){ - $aVariables[$i] = ''; + if( is_array($var) || is_object($var) ) { + $aVariables[$i] = print_r($var, true); } }