Browse Source

bugfix:
- fixed old variable

Dmitriev Roman 4 năm trước cách đây
mục cha
commit
62d3f20300
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scripts/sync_mikrotik.pl

+ 1 - 1
scripts/sync_mikrotik.pl

@@ -302,7 +302,7 @@ AND User_auth.deleted =0
 AND User_auth.enabled =1
 AND User_auth.enabled =1
 AND User_auth.blocked =0
 AND User_auth.blocked =0
 AND User_list.blocked =0
 AND User_list.blocked =0
-AND User_auth.user_id <> $hotspot_user_id
+AND User_auth.ou_id <> $default_hotspot_ou_id
 ORDER BY ip_int";
 ORDER BY ip_int";
 
 
 my @authlist_ref = get_records_sql($dbh,$user_auth_sql);
 my @authlist_ref = get_records_sql($dbh,$user_auth_sql);