Sfoglia il codice sorgente

fix mistake in ip filter field

Roman Dmitriev 2 anni fa
parent
commit
edf16b266f
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      html/inc/iptypefilter.php

+ 2 - 2
html/inc/iptypefilter.php

@@ -1,8 +1,8 @@
 <?php
 if (! defined("CONFIG")) die("Not defined");
 
-if (isset($_GET['ip-type'])) { $ip_type = $_GET["ip_type"] * 1; }
-if (isset($_POST['ip-type'])) { $ip_type = $_POST["ip_type"] * 1; }
+if (isset($_GET['ip_type'])) { $ip_type = $_GET["ip_type"] * 1; }
+if (isset($_POST['ip_type'])) { $ip_type = $_POST["ip_type"] * 1; }
 if (!isset($ip_type)) {
     if (isset($_SESSION[$page_url]['ip_type'])) { $ip_type = $_SESSION[$page_url]['ip_type']*1; }
     }