Browse Source

html: fixed the display of auto-assignment rules in the general list by rule type

root 1 tuần trước cách đây
mục cha
commit
a95eb53126
2 tập tin đã thay đổi với 9 bổ sung1 xóa
  1. 1 1
      html/admin/iplist/auto_rules.php
  2. 8 0
      scripts/updates/3-1-2/readme.txt

+ 1 - 1
html/admin/iplist/auto_rules.php

@@ -57,7 +57,7 @@ if ($rule_target>0) {
     }
 
 $type_filter='';
-if ($rule_type>0) { $type_filter = ' AND type=?'; $params[]=$rule_type; }
+if ($rule_type>0) { $type_filter = ' AND rule_type=?'; $params[]=$rule_type; }
 
 $rule_filter='';
 if (!empty($f_rule)) { $rule_filter = ' AND rule LIKE ?'; $params[]=$f_rule.'%'; }

+ 8 - 0
scripts/updates/3-1-2/readme.txt

@@ -0,0 +1,8 @@
+release 3.1.2 - bugfixes
+
+html: Optimized the search for records with the same mac in subnets
+html: fixed the display of auto-assignment rules in the general list by rule type
+bugfix: Records with other|invalid statuses are excluded from arp processing
+bugfix: Fixed the comparison of iptables filters. Now the order of the elements is ignored.
+bugfix: removed hardcoded debug from web
+bugfix: small fixes in upgrade sub