Skip to content

Commit

Permalink
Item10879: previous fix was correct, but didn't cover all cases
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/GaugePlugin@11917 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Jun 14, 2011
1 parent 74a3010 commit e113fe4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Foswiki/Plugins/GaugePlugin.pm
Expand Up @@ -247,6 +247,7 @@ sub _make_error_image {
# Get remaining parameters and pass to <img ... />
my $options = "";
foreach my $k ( keys %$parameters ) {
next if $k =~ /^_/;
$options .= "$k=\"$$parameters{$k}\" ";
}
return "<img src=\"%ATTACHURL%/$filename?t=$timestamp\" alt=\"$msg\""
Expand Down Expand Up @@ -538,6 +539,7 @@ sub _make_trend_gauge {
# Get remaining parameters and pass to <img ... />
my $options = "";
foreach my $k ( keys %$parameters ) {
next if $k =~ /^_/;
$options .= "$k=\"$$parameters{$k}\" ";
}
my $timestamp = time();
Expand Down

0 comments on commit e113fe4

Please sign in to comment.