More bug 6682. Perhaps this could be it.

git-svn-id: svn://10.0.0.236/trunk@85098 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gerv%gerv.net
2001-01-18 23:08:22 +00:00
parent 02742c53b1
commit 23e6b28171
3 changed files with 29 additions and 15 deletions

View File

@@ -566,7 +566,7 @@ sub generate_chart {
next unless $_;
if (/^#/) {
if (/^# fields?: (.*)\s*$/) {
@fields = split /\|/, $1;
@fields = split /\||\r/, $1;
&die_politely("`# fields: ' line didn't start with DATE, but with $fields[0]")
unless $fields[0] =~ /date/i;
push @labels, grep($datasets{$_}, @fields);