Fix some warnings and errors caused by the previous commit. re #34

This commit is contained in:
Sébastien Lucas 2013-11-22 15:22:03 +01:00
parent b46d1f524c
commit 185c59ce15
2 changed files with 3 additions and 2 deletions

View file

@ -723,7 +723,7 @@ class PageQueryResult extends Page
$this->entryArray = Author::getAuthorsByStartingLetter ('%' . $this->query);
break;
case self::SCOPE_TAG :
$this->entryArray = Tag::getAllTagsByQuery ($this->query);
list ($this->entryArray, $this->totalNumber) = Tag::getAllTagsByQuery ($this->query, -1);
break;
case self::SCOPE_SERIES :
$this->entryArray = Serie::getAllSeriesByQuery ($this->query);