Hide tags & series if there is none. re #63
Esse commit está contido em:
pai
332e64a82a
commit
32279afc6e
4 arquivos alterados com 14 adições e 3 exclusões
|
@ -29,6 +29,7 @@ class Serie extends Base {
|
|||
|
||||
public static function getCount() {
|
||||
$nSeries = parent::getDb ()->query('select count(*) from series')->fetchColumn();
|
||||
if ($nSeries == 0) return NULL;
|
||||
$entry = new Entry (localize("series.title"), self::ALL_SERIES_ID,
|
||||
str_format (localize("series.alphabetical", $nSeries), $nSeries), "text",
|
||||
array ( new LinkNavigation ("?page=".parent::PAGE_ALL_SERIES)));
|
||||
|
|
Carregando…
Adicionar tabela
Adicionar um link
Referência em uma nova issue