Browse Source

Update makehtml_freelist_action.php

tags/6.2.7
tianya 2 years ago
parent
commit
5e3909f1ec
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/admin/makehtml_freelist_action.php

+ 1
- 1
src/admin/makehtml_freelist_action.php View File

@@ -19,11 +19,11 @@ if (!empty($endid) && $endid >= $startid) {
header("Content-Type:text/html; charset={$cfg_soft_lang}");
$dsql->SetQuery("SELECT aid FROM `#@__freelist` WHERE $ci");
$dsql->Execute();
$idArray = array();
while ($row = $dsql->GetArray()) {
$idArray[] = $row['aid'];
}
if (!isset($pageno)) $pageno = 0;
if (empty($idArray)) $idArray = '';
$totalpage = count($idArray);
if (isset($idArray[$pageno])) {
$lid = $idArray[$pageno];


Loading…
Cancel
Save