From 19602b681f9b5d88578162319366e7efde768352 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Tue, 14 Jan 2020 13:53:59 +0100 Subject: [PATCH] dns.cgi: Fix ID and greater than checks. Signed-off-by: Stefan Schantl Signed-off-by: Arne Fitzenreiter --- html/cgi-bin/dns.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/dns.cgi b/html/cgi-bin/dns.cgi index 385c7be44b..11415cdf82 100755 --- a/html/cgi-bin/dns.cgi +++ b/html/cgi-bin/dns.cgi @@ -634,7 +634,7 @@ END # Nameservers with an ID's of one or two are ISP assigned, # and we cannot perform any actions on them, so hide the tools for # them. - if ($id gt "2") { + if ($id > 2) { print < @@ -677,7 +677,7 @@ END print"\n"; # Check if the usage of the ISP nameservers is enabled and there are more than 2 servers. - if (($settings{'USE_ISP_NAMESERVERS'} eq "on") && ($server_amount gt "2")) { + if (($settings{'USE_ISP_NAMESERVERS'} eq "on") && ($server_amount > 2)) { print < -- 2.39.5
  $Lang::tr{'legend'}: