summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 84d5104)
raw | patch | inline | side by side (parent: 84d5104)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Jul 2006 06:50:14 +0000 (06:50 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Jul 2006 06:50:14 +0000 (06:50 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4088 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions_debug.inc | patch | blob | history |
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 );