diff --git a/book.php b/book.php index f851c13..10237e7 100644 --- a/book.php +++ b/book.php @@ -567,7 +567,8 @@ order by substr (upper (sort), 1, 1)"); public static function getAllRecentBooks() { global $config; - $entryArray = self::getEntryArray (self::SQL_BOOKS_RECENT . $config['cops_recentbooks_limit'], array (), -1) [0]; + $entryArray = self::getEntryArray (self::SQL_BOOKS_RECENT . $config['cops_recentbooks_limit'], array (), -1); + $entryArray = $entryArray [0]; return $entryArray; }