Don't work on php 5.3.

This commit is contained in:
Sébastien Lucas 2013-11-22 15:42:50 +01:00
parent 76d739b1f6
commit 26f5b36563

View file

@ -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;
} }