From f096b91267d0deaeec911939fbdd54177e9f1995 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 2 Mar 2011 11:57:44 +0000 Subject: not showing categories label if not categories chosen git-svn-id: http://code.elgg.org/elgg/trunk@8568 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/categories/views/default/output/categories.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mod/categories/views/default') 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 '

' . elgg_echo('categories') . ": $linkstr

"; +if ($linkstr) { + echo '

' . elgg_echo('categories') . ": $linkstr

"; +} -- cgit v1.2.3