From 4ab9999af15f7e13321b07d2b8029a9a02817048 Mon Sep 17 00:00:00 2001 From: Roman Dieser Date: Fri, 25 Jan 2013 13:21:48 +0000 Subject: [PATCH] some more cosmetics.. --- lib/admin/Controller/dashboard.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/admin/Controller/dashboard.pm b/lib/admin/Controller/dashboard.pm index 98ca92b..efb1516 100644 --- a/lib/admin/Controller/dashboard.pm +++ b/lib/admin/Controller/dashboard.pm @@ -101,9 +101,10 @@ sub index : Private { my $name = $rrd; # name is used as html id attribute, # hence should not contain dots and colons $name =~ s/[\.:]/-/g; # in order to function properly with jQuery - my $title = $rrd; - $title =~ s/\.rrd$//; - + + my $title = $rrd; + $title =~ s/\.rrd$//; + push @plotdata, { name => $name, title => $title,