Browse Source

错误修复

tags/6.2.6
tianya 2 years ago
parent
commit
80d082d7f0
2 changed files with 2 additions and 2 deletions
  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 View File

@@ -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 View File

@@ -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…
Cancel
Save