From 164123278767f953bc053d24829b54605d419afe Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 27 Mar 2015 23:44:37 +0100 Subject: [PATCH] ??? Not Notice_tag? Signed-off-by: Roland Haeder --- lib/tagcloudsection.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/tagcloudsection.php b/lib/tagcloudsection.php index ca72a27e52..f82a0dd153 100644 --- a/lib/tagcloudsection.php +++ b/lib/tagcloudsection.php @@ -50,8 +50,9 @@ class TagCloudSection extends Section function showContent() { $tags = $this->getTags(); + /* NOISY-DEBUG: */ common_debug('[' . __METHOD__ . ':' . __LINE__ . '] tags[]=' . gettype($tags)); - if (!$tags instanceof Notice_tag) { + if (!$tags) { // TRANS: Content displayed in a tag cloud section if there are no tags. $this->out->element('p', null, _m('NOTAGS','None')); return false; -- 2.39.2