From: Michael Tremer Date: Thu, 10 Jul 2014 18:39:56 +0000 (+0200) Subject: ddns.cgi: Remove an other unknown function call. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06fb88bc1dc1bc303a2af88b6c27de188710ca24;p=people%2Fms%2Fipfire-2.x.git ddns.cgi: Remove an other unknown function call. --- diff --git a/html/cgi-bin/ddns.cgi b/html/cgi-bin/ddns.cgi index ada92c0529..738e6ecfbc 100644 --- a/html/cgi-bin/ddns.cgi +++ b/html/cgi-bin/ddns.cgi @@ -636,7 +636,7 @@ sub GenerateDDNSConfigFile { my ($provider, $hostname, $domain, $proxy, $wildcards, $username, $password, $enabled) = @settings; # Skip entries if they are not (longer) supported. - next if (!&General::is_part_of("$provider", @providers)); + next unless ($provider ~~ @providers); # Skip disabled entries. next if ($enabled eq "off");