From: Stephen L Johnson <sjohnson@monsters.org> Date: Wed, 29 Dec 1999 20:17:09 +0000 (+0000) Subject: Fixed Ack URL problem in add_action_bar() with host and service not being added X-Git-Tag: spong-2_6b~7 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bbb45ef9536489c0a156557ba509847ed5b78c4;p=spong.git Fixed Ack URL problem in add_action_bar() with host and service not being added to the HREF. --- diff --git a/src/lib/Spong/Service.pm b/src/lib/Spong/Service.pm index 13db7c2..ff1ba15 100755 --- a/src/lib/Spong/Service.pm +++ b/src/lib/Spong/Service.pm @@ -338,11 +338,12 @@ sub _problem_message { sub add_action_bar { my( $self ) = shift; my $name = $self->host(); + my $service = $self->name(); my $message = &escape( "Host: $name, " . $self->_problem_message() ); print "<hr>"; print "<a href=\"telnet://$name\">Connect to Host</a> || "; - print "<a href=\"$main::WWWACK/$host/$service\">Acknowledge Problem</a> "; + print "<a href=\"$main::WWWACK/$name/$service\">Acknowledge Problem</a> "; if( $main::WWWCONTACT ) { print "|| <a href=\"$main::WWWCONTACT?host=$name&message=$message\">";