Don't work on php 5.3.
This commit is contained in:
parent
76d739b1f6
commit
26f5b36563
3
book.php
3
book.php
|
@ -567,7 +567,8 @@ order by substr (upper (sort), 1, 1)");
|
||||||
|
|
||||||
public static function getAllRecentBooks() {
|
public static function getAllRecentBooks() {
|
||||||
global $config;
|
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;
|
return $entryArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue