瀏覽代碼

CNVD-C-2024-806591问题修复

tags/6.3.2
tianya 2 月之前
父節點
當前提交
fe2804735f
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      src/admin/makehtml_freelist_action.php

+ 3
- 2
src/admin/makehtml_freelist_action.php 查看文件

@@ -11,9 +11,10 @@
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_MakeHtml');
require_once(DEDEINC."/archive/freelist.class.php");
if (empty($startid)) $startid = 0;
$startid = empty($startid)? 0 : intval($startid);
$endid = empty($endid)? 0 : intval($endid);
$ci = " aid >= $startid ";
if (!empty($endid) && $endid >= $startid) {
if ($endid > 0 && $endid >= $startid) {
$ci .= " And aid <= $endid ";
}
header("Content-Type:text/html; charset={$cfg_soft_lang}");


Loading…
取消
儲存