version 1.11, 2004/06/04 21:42:18
|
version 1.12, 2004/10/06 14:21:57
|
Line 148 sub AnalyzeScoreData {
|
Line 148 sub AnalyzeScoreData {
|
my ($score_data,$title,$total_parts) = @_; |
my ($score_data,$title,$total_parts) = @_; |
# |
# |
# Basic check first |
# Basic check first |
if (@$score_data < 1) { |
if (ref($score_data) ne 'ARRAY' || @$score_data < 1) { |
return '<h2>There is no data to plot</h2>'; |
return '<h2>'.&mt('There is no data to plot').'</h2>'; |
} |
} |
# |
# |
# Determine which bins to use |
# Determine which bins to use |