mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
Merge pull request #296 from kijin/pr/division-by-zeroboard
DocumentModel에서 페이징 계산 중 0으로 나누는 문제 수정
This commit is contained in:
commit
476c608879
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);
|
$this->_setSearchOption($opt, $args, $query_id, $use_division);
|
||||||
|
|
||||||
if($sort_check->isExtraVars)
|
if($sort_check->isExtraVars || !$opt->list_count)
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue