瀏覽代碼

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);