Fix warnings an code enhancement.
This commit is contained in:
parent
f4503647ad
commit
133b6dc9d6
5 changed files with 5 additions and 6 deletions
3
book.php
3
book.php
|
@ -567,8 +567,7 @@ 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);
|
||||
$entryArray = $entryArray [0];
|
||||
list ($entryArray, ) = self::getEntryArray (self::SQL_BOOKS_RECENT . $config['cops_recentbooks_limit'], array (), -1);
|
||||
return $entryArray;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue