From: Alexander Marx Date: Tue, 4 Mar 2014 13:40:59 +0000 (+0100) Subject: Firewall: Bugfix - when creating a new hostgroup, the system checked for existing... X-Git-Tag: v2.15-rc1~52^2~7^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40962f9760ce8da23ebd5c723d75775e7853943d;p=people%2Fms%2Fipfire-2.x.git Firewall: Bugfix - when creating a new hostgroup, the system checked for existing name in servicegroups instead of hostgroups --- diff --git a/html/cgi-bin/fwhosts.cgi b/html/cgi-bin/fwhosts.cgi index 34d43f3b16..049233c43c 100644 --- a/html/cgi-bin/fwhosts.cgi +++ b/html/cgi-bin/fwhosts.cgi @@ -2014,7 +2014,7 @@ sub checkname } sub checkgroup { - &General::readhasharray("$configsrvgrp", \%customservicegrp ); + &General::readhasharray("$configgrp", \%customgrp ); my $name=shift; foreach my $key (keys %customservicegrp) { if($customservicegrp{$key}[0] eq $name){