Răsfoiți Sursa

stupid mistake in show mac log

Roman Dmitriev 2 ani în urmă
părinte
comite
425a8d383b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      html/admin/logs/mac.php

+ 1 - 1
html/admin/logs/mac.php

@@ -28,7 +28,7 @@ print_log_submenu($page_url);
 </form>
 
 <?php
-$countSQL="SELECT Count(*) FROM mac_history WHERE `timestamp`>='$date1' AND `timestamp`<'$date2' ORDER BY id DESC $mac_where";
+$countSQL="SELECT Count(*) FROM mac_history WHERE `timestamp`>='$date1' AND `timestamp`<'$date2' $mac_where ORDER BY id DESC";
 $res = mysqli_query($db_link, $countSQL);
 $count_records = mysqli_fetch_array($res);