diff options
-rw-r--r-- | mod/categories/views/default/output/categories.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/categories/views/default/output/categories.php b/mod/categories/views/default/output/categories.php index 38df83716..df254da4b 100644 --- a/mod/categories/views/default/output/categories.php +++ b/mod/categories/views/default/output/categories.php @@ -24,4 +24,6 @@ if (isset($vars['entity']) && $vars['entity'] instanceof ElggEntity) { } -echo '<p class="elgg-output-categories">' . elgg_echo('categories') . ": $linkstr</p>"; +if ($linkstr) { + echo '<p class="elgg-output-categories">' . elgg_echo('categories') . ": $linkstr</p>"; +} |