-
Bug
-
Resolution: Fixed
-
Major
-
3.1.0-dev
-
None
[phpBB Debug] PHP Warning: in file [ROOT]/includes/sphinxapi.php on line 708: assert() [function.assert]: Assertion failed
|
The problem is public function keyword_search()
$result_count = $result['total_found'];
|
|
if ($start >= $result_count)
|
{
|
$start = floor(($result_count - 1) / $per_page) * $per_page;
|
|
$this->sphinx->SetLimits((int) $start, (int) $per_page, SPHINX_MAX_MATCHES);
|
When $start and $result_count we should not go into the if statement.
In the statement we try to go one page back, which gives a negative start value, causing the debug message