From 7b05ce82f2c3d3085f78f0e4029bf728455991b9 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Thu, 26 Apr 2007 22:39:55 +0000 Subject: [PATCH] Fixed bug in creation of virtual servers on specific port --- apache/apache-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache/apache-lib.pl b/apache/apache-lib.pl index b0b7967cf..2fd16327f 100644 --- a/apache/apache-lib.pl +++ b/apache/apache-lib.pl @@ -746,7 +746,7 @@ sub choice_input local($i, $rv); for($i=3; $i<@_; $i++) { $_[$i] =~ /^([^,]*),(.*)$/; - $rv .= &ui_oneradio($_[0], $2, $1, lc($2) eq lc($_[0]) || + $rv .= &ui_oneradio($_[1], $2, $1, lc($2) eq lc($_[0]) || !defined($_[0]) && lc($2) eq lc($_[2]))."\n"; } return $rv;