From 844bd1ec4ac00cf859bf26c0d8bd44da70c958e3 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 13 Mar 2009 15:30:54 +0100 Subject: [PATCH] contrib/collection3: Add the `index' to the parameters. --- contrib/collection3/bin/graph.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/collection3/bin/graph.cgi b/contrib/collection3/bin/graph.cgi index 7fe20871..c246bda6 100755 --- a/contrib/collection3/bin/graph.cgi +++ b/contrib/collection3/bin/graph.cgi @@ -20,6 +20,7 @@ our $Debug = param ('debug'); our $Begin = param ('begin'); our $End = param ('end'); our $GraphWidth = param ('width'); +our $Index = param ('index') || 0; our $OutputFormat = 'PNG'; our $ContentType = 'image/png'; @@ -167,7 +168,7 @@ if ($Debug) print "\$expires = $expires;\n"; } -my $args = $obj->getRRDArgs (0); +my $args = $obj->getRRDArgs (0 + $Index); if ($Debug) { -- 2.11.0