index 472ad7f7fca2f64f3d33b7c6b29d88519ea09989..24fd84275107b00870c12eb0463af764d2417665 100644 (file)
# value output
if($type == 'array') {
- $this->print_a( $value, TRUE, $key_bg_color );
+ if(count($value)){
+ $this->print_a( $value, TRUE, $key_bg_color );
+ }else{
+ $this->output .= '<div style="color:blue;">Array (empty)</div>';
+ }
} elseif($type == 'object') {
if( $this->show_object_vars ) {
$this->print_a( get_object_vars( $value ), TRUE, $key_bg_color );