Browse Source

CNVD-C-2024-806591问题修复

tags/6.3.2
tianya 2 months ago
parent
commit
fe2804735f
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/admin/makehtml_freelist_action.php

+ 3
- 2
src/admin/makehtml_freelist_action.php View File

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


Loading…
Cancel
Save