hopefully don't die on non-gallery-laden pages which trigger this consistency check
This commit is contained in:
parent
1f17a10396
commit
f3fc4bbf5d
1 changed files with 1 additions and 1 deletions
|
|
@ -484,7 +484,7 @@ class CategoryViewer {
|
|||
# know the right figure.
|
||||
# 3) We have no idea.
|
||||
$totalrescnt = count( $this->articles ) + count( $this->children ) +
|
||||
$this->gallery->count();
|
||||
($this->showGallery ? $this->gallery->count() : 0);
|
||||
if($dbcnt == $rescnt || (($totalrescnt == $this->limit || $this->from
|
||||
|| $this->until) && $dbcnt > $rescnt)){
|
||||
# Case 1: seems sane.
|
||||
|
|
|
|||
Loading…
Reference in a new issue