summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Smokeping.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 2d6e1e5..f9d162c 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -1156,7 +1156,8 @@ sub get_detail ($$$$;$){
$q->param('epoch_start',parse_datetime($q->param('start')));
$q->param('epoch_end',parse_datetime($q->param('end')));
- @tasks = (["Navigator Graph".$name, parse_datetime($q->param('start')),parse_datetime($q->param('end'))]);
+ my $title = $q->param('title') || ("Navigator Graph".$name);
+ @tasks = ([$title, parse_datetime($q->param('start')),parse_datetime($q->param('end'))]);
my ($graphret,$xs,$ys) = RRDs::graph
("dummy",
'--start', $tasks[0][1],