From 1f2abbb43e60ea173ef0ea9948cb1d8c59c570dd Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 10 Sep 2009 13:08:36 +0000 Subject: [PATCH] don't overwrite title with if it's not defined --- lib/PXElator/httpd.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PXElator/httpd.pm b/lib/PXElator/httpd.pm index c01a1f4..0dec3a6 100644 --- a/lib/PXElator/httpd.pm +++ b/lib/PXElator/httpd.pm @@ -259,7 +259,7 @@ warn "XXX pids = ", dump( $daemons::pids ); } elsif ( $path =~ m!^/client(?:/$RE{net}{IPv4}{-keep})?! ) { my $ip = $1; - $title = $ip; + $title = $ip if $ip; if ( $param->{action} eq 'remove' ) { client::remove( $param->{change_ip} ); -- 2.20.1