From 8b6b5f9ef33a9b59230990ccb500d7b29061bfc8 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 --- plugins/TagCloud/lib/tagcloudsection.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/TagCloud/lib/tagcloudsection.php b/plugins/TagCloud/lib/tagcloudsection.php index d7b0929b7b..4bcef0d994 100644 --- a/plugins/TagCloud/lib/tagcloudsection.php +++ b/plugins/TagCloud/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.5