Fix warnings an code enhancement.

This commit is contained in:
Sébastien Lucas 2014-03-10 17:59:57 +01:00
parent f4503647ad
commit 133b6dc9d6
5 changed files with 5 additions and 6 deletions

View file

@ -43,7 +43,7 @@ class Rating extends Base {
}
public static function getEntryArray ($query, $params) {
list ($totalNumber, $result) = parent::executeQuery ($query, self::RATING_COLUMNS, "", $params, -1);
list (, $result) = parent::executeQuery ($query, self::RATING_COLUMNS, "", $params, -1);
$entryArray = array();
while ($post = $result->fetchObject ())
{