Hide tags & series if there is none. re #63
This commit is contained in:
parent
332e64a82a
commit
32279afc6e
4 changed files with 14 additions and 3 deletions
6
base.php
6
base.php
|
@ -377,8 +377,10 @@ class Page
|
|||
}
|
||||
} else {
|
||||
array_push ($this->entryArray, Author::getCount());
|
||||
array_push ($this->entryArray, Serie::getCount());
|
||||
array_push ($this->entryArray, Tag::getCount());
|
||||
$series = Serie::getCount();
|
||||
if (!is_null ($series)) array_push ($this->entryArray, $series);
|
||||
$tags = Tag::getCount();
|
||||
if (!is_null ($tags)) array_push ($this->entryArray, $tags);
|
||||
foreach ($config['cops_calibre_custom_column'] as $lookup) {
|
||||
$customId = CustomColumn::getCustomId ($lookup);
|
||||
if (!is_null ($customId)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue