From: <jgr...@us...> - 2003-05-07 22:21:06
|
Update of /cvsroot/popfile/engine/UI In directory sc8-pr-cvs1:/tmp/cvs-serv19023/UI Modified Files: HTML.pm Log Message: Prevent warning when bar chart is empty; fix incorrect references to old get_response method; make subject modification protection work with reconfigured subjects Index: HTML.pm =================================================================== RCS file: /cvsroot/popfile/engine/UI/HTML.pm,v retrieving revision 1.151 retrieving revision 1.152 diff -C2 -d -r1.151 -r1.152 *** HTML.pm 6 May 2003 16:52:34 -0000 1.151 --- HTML.pm 7 May 2003 22:21:02 -0000 1.152 *************** *** 1505,1508 **** --- 1505,1513 ---- my $total_count = 0; my @xaxis = sort keys %values; + + if ( $#xaxis < 0 ) { + return ''; + } + my @series = sort keys %{$values{$xaxis[0]}}; |