From e116655de7b3ca90c99ebbe8b38c75c6c0e24fbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Thu, 13 Feb 2014 11:07:31 +0100 Subject: [PATCH] Fix warning --- author.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/author.php b/author.php index b498658..60235fb 100644 --- a/author.php +++ b/author.php @@ -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 ()) {