--- trunk/vhost/webpac2.cgi 2009/07/12 17:42:27 1241 +++ trunk/vhost/webpac2.cgi 2009/07/12 18:18:57 1242 @@ -136,6 +136,7 @@ foreach ( @{ $db->{input} } ) { my $input = $_->{name} || die "no name in ",dump( $_ ); + next unless defined $stats->{input}->{$input}; # skip inputs without data if ( ! $only_input->{'-labels'}->{$input} ) { push @{ $only_input->{'-values'} }, $input; $only_input->{'-labels'}->{$input} = $_->{description} || $input;