aboutsummaryrefslogtreecommitdiff
path: root/templates/sidebar.linkedtags.inc.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-05-10 08:59:41 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-05-10 08:59:41 +0000
commit2756e3f85818346a478725b6dd94a966e0d92c07 (patch)
treeefad4c6566773670dc5f9a8b733f2a3ed3fe4a57 /templates/sidebar.linkedtags.inc.php
parente273c0d367da161651324eca1b7e4177c670c91f (diff)
downloadsemanticscuttle-2756e3f85818346a478725b6dd94a966e0d92c07.tar.gz
semanticscuttle-2756e3f85818346a478725b6dd94a966e0d92c07.tar.bz2
Bug fixes: correct minor bugs appearing with 'notice' level in PHP
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@122 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/sidebar.linkedtags.inc.php')
-rw-r--r--templates/sidebar.linkedtags.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/sidebar.linkedtags.inc.php b/templates/sidebar.linkedtags.inc.php
index 95b420a..555eafc 100644
--- a/templates/sidebar.linkedtags.inc.php
+++ b/templates/sidebar.linkedtags.inc.php
@@ -19,6 +19,8 @@ function displayLinkedTags($tag, $linkType, $uId, $cat_url, $user, $editingMode
} else {
$link = '> ';
}
+ } else {
+ $link = '';
}
$output = '';
@@ -69,7 +71,7 @@ function displayLinkedTags($tag, $linkType, $uId, $cat_url, $user, $editingMode
$displayLinkedTags = displayLinkedTags($linkedTag, $linkType, $uId, $cat_url, $user, $editingMode, $precedentTag, $level + 1, $stopList);
$output.= $displayLinkedTags['output'];
}
- if(is_array($displayLinkedTags['stopList'])) {
+ if(isset($displayLinkedTags) && is_array($displayLinkedTags['stopList'])) {
$stopList = array_merge($stopList, $displayLinkedTags['stopList']);
$stopList = array_unique($stopList);
}