From 0843d630d68a58540eaf75e9d2e294349b7ecc0b Mon Sep 17 00:00:00 2001 From: Repellent Date: Tue, 4 Jun 2019 18:07:22 +0000 Subject: [PATCH] =?UTF-8?q?fix=20=D0=B4=D0=BB=D1=8F=20php=20>7.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- search/class.search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/class.search.php b/search/class.search.php index 53d615a..ec15254 100644 --- a/search/class.search.php +++ b/search/class.search.php @@ -173,7 +173,7 @@ class Search //Debug::_echo($sql); - $num = $AVE_DB->NumAllRows(); + $num = $AVE_DB->NumAllRows($sql); $pages = @ceil($num / $limit); $sw = addslashes(mb_strtolower($this->_search_string));