瀏覽代碼

错误修复

tags/6.2.6
tianya 2 年之前
父節點
當前提交
80d082d7f0
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      src/admin/templets/content_i_list.htm
  2. +1
    -1
      src/system/datalistcp.class.php

+ 1
- 1
src/admin/templets/content_i_list.htm 查看文件

@@ -36,7 +36,7 @@
</table>
<form name="form3" action="content_i_list.php" method="get">
<input type="hidden" name="dopost" value="listArchives">
<input type="hidden" name="channelid" value="2">
<input type="hidden" name="channelid" value="<?php echo $channelid;?>">
<table cellpadding="1" cellspacing="1" align="center" class="table maintable mb-3">
<tr bgcolor="#f5f5f5">
<td width="380"><input type="text" name="keyword" class="admin-input-md" value="{dede:global.keyword/}" placeholder="请输入文档标题或文档id"></td>


+ 1
- 1
src/system/datalistcp.class.php 查看文件

@@ -115,7 +115,7 @@ class DataListCP
$countQuery = preg_replace("#ORDER[ \r\n\t]{1,}BY(.*)#is", '', $countQuery);
$row = $this->dsql->GetOne($countQuery);
if (!is_array($row)) $row['dd'] = 0;
if (is_array($row)) $row['dd'] = 0;
$this->totalResult = isset($row['dd']) ? $row['dd'] : 0;
$this->sourceSql .= " LIMIT 0,".$this->pagesize;
} else {


Loading…
取消
儲存