This commit is contained in:
parent
81fbe584db
commit
9aee96d7e2
8 changed files with 12 additions and 9 deletions
|
@ -28,7 +28,7 @@ class Publisher extends Base {
|
|||
}
|
||||
|
||||
public static function getCount() {
|
||||
$nPublishers = parent::getDb ()->query('select count(*) from publishers')->fetchColumn();
|
||||
$nPublishers = parent::executeQuerySingle ('select count(*) from publishers');
|
||||
if ($nPublishers == 0) return NULL;
|
||||
$entry = new Entry (localize("publishers.title"), self::ALL_PUBLISHERS_ID,
|
||||
str_format (localize("publishers.alphabetical", $nPublishers), $nPublishers), "text",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue