Преглед изворни кода

stupid mistake in show mac log

Roman Dmitriev пре 2 година
родитељ
комит
425a8d383b
1 измењених фајлова са 1 додато и 1 уклоњено
  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);