diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-02 11:57:44 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-02 11:57:44 +0000 |
commit | f096b91267d0deaeec911939fbdd54177e9f1995 (patch) | |
tree | 37372a4ec5a05213bcda803e4f7e358eb566a4af | |
parent | e12df0066de0a68c452a1cf9978352a602dcc84f (diff) | |
download | elgg-f096b91267d0deaeec911939fbdd54177e9f1995.tar.gz elgg-f096b91267d0deaeec911939fbdd54177e9f1995.tar.bz2 |
not showing categories label if not categories chosen
git-svn-id: http://code.elgg.org/elgg/trunk@8568 36083f99-b078-4883-b0ff-0f9b5a30f544
-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>"; +} |