Fix warning

This commit is contained in:
Sébastien Lucas 2014-02-13 11:07:31 +01:00
parent ddb461d0ae
commit e116655de7

View file

@ -68,7 +68,8 @@ order by substr (upper (sort), 1, 1)');
}
public static function getEntryArray ($query, $params) {
list ($totalNumber, $result) = parent::executeQuery ($query, self::AUTHOR_COLUMNS, "", $params, -1);
$result = parent::executeQuery ($query, self::AUTHOR_COLUMNS, "", $params, -1);
$result = $result [1];
$entryArray = array();
while ($post = $result->fetchObject ())
{