diff --git a/src/admin/templets/content_i_list.htm b/src/admin/templets/content_i_list.htm index 6a7c8d0e..cf3e4b8e 100644 --- a/src/admin/templets/content_i_list.htm +++ b/src/admin/templets/content_i_list.htm @@ -36,7 +36,7 @@
- + diff --git a/src/system/datalistcp.class.php b/src/system/datalistcp.class.php index b965cf68..403f989d 100755 --- a/src/system/datalistcp.class.php +++ b/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 {