Skip Menu |

This queue is for tickets about the RRD-CGI-Image CPAN distribution.

Report information
The Basics
Id: 53987
Status: new
Priority: 0/
Queue: RRD-CGI-Image

People
Owner: Nobody in particular
Requestors: mm [...] elabnet.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.01
Fixed in: (no value)



Subject: String "tz" in LINE1 gives no graph
If the value given for LINE contains the string "tz" somewhere the created graph is empty. e.g. LINE1:ds0#ff0000:XXtzXX;
From: mm [...] elabnet.de
I guess a change to the regexp parsing arguments should do the trick, diff -u: --- /usr/share/perl5/RRD/CGI/Image.pm.org 2010-01-26 02:19:56.000000000 +0100 +++ /usr/share/perl5/RRD/CGI/Image.pm 2010-01-26 02:20:42.000000000 +0100 @@ -61,7 +61,7 @@ } # Set and strip any timezone params - it's not a valid RRDs::graph() argument - if ( $k =~ /tz/i ) { + if ( $k =~ /^tz/i ) { $self->tz( $v ); next; }