Explorar o código

fixed old bug in display passive device list

Roman Dmitriev %!s(int64=2) %!d(string=hai) anos
pai
achega
72771c4f3d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      html/admin/devices/index-passive.php

+ 1 - 1
html/admin/devices/index-passive.php

@@ -94,7 +94,7 @@ if ($unknown and $f_vendor_select==0) { $u_filter=' AND V.id<>1 '; } else {
         }
     }
 
-$countSQL="SELECT Count(*) FROM User_auth A, User_list L, devices D, device_models M, vendors V.
+$countSQL="SELECT Count(*) FROM User_auth A, User_list L, devices D, device_models M, vendors V 
 WHERE D.user_id=L.id AND A.ip = D.ip AND D.device_model_id=M.id AND M.vendor_id=V.id AND A.deleted =0
 $u_filter $ip_list_filter $d_filter";