diff --git a/data/templates/sidebar.block.linked.php b/data/templates/sidebar.block.linked.php index 558059d..199cf4c 100644 --- a/data/templates/sidebar.block.linked.php +++ b/data/templates/sidebar.block.linked.php @@ -44,16 +44,18 @@ jQuery("#related-content") "ajax" : { "url": function(node) { //-1 is root - parent = ""; + parentparam = ""; if (node == -1 ) { node = ; - parent = "&parent=true"; + parentparam = "&parent=true"; } else if (node.attr('rel')) { node = node.attr('rel'); } else { return; } - return "ajax/getlinkedtags.php?tag=" + node + parent; + + return "ajax/getlinkedtags.php?tag=" + node + + parentparam; } } },