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