mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix division by zero during page calculation in DocumentModel
This commit is contained in:
parent
397a1e163b
commit
8ee10fe9b2
1 changed files with 1 additions and 1 deletions
|
|
@ -621,7 +621,7 @@ class documentModel extends document
|
|||
|
||||
$this->_setSearchOption($opt, $args, $query_id, $use_division);
|
||||
|
||||
if($sort_check->isExtraVars)
|
||||
if($sort_check->isExtraVars || !$opt->list_count)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue