Просмотр исходного кода

stupid mistake in show mac log

Roman Dmitriev 2 лет назад
Родитель
Сommit
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>
 </form>
 
 
 <?php
 <?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);
 $res = mysqli_query($db_link, $countSQL);
 $count_records = mysqli_fetch_array($res);
 $count_records = mysqli_fetch_array($res);