@ -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));