This commit is contained in:
parent
81fbe584db
commit
9aee96d7e2
8 changed files with 12 additions and 9 deletions
|
@ -39,7 +39,7 @@ class Author extends Base {
|
|||
}
|
||||
|
||||
public static function getCount() {
|
||||
$nAuthors = parent::getDb ()->query('select count(*) from authors')->fetchColumn();
|
||||
$nAuthors = parent::executeQuerySingle ('select count(*) from authors');
|
||||
$entry = new Entry (localize("authors.title"), self::ALL_AUTHORS_ID,
|
||||
str_format (localize("authors.alphabetical", $nAuthors), $nAuthors), "text",
|
||||
array ( new LinkNavigation ("?page=".parent::PAGE_ALL_AUTHORS)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue