From: Roland Haeder Date: Fri, 27 Mar 2015 22:44:37 +0000 (+0100) Subject: ??? Not Notice_tag? X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8b6b5f9ef33a9b59230990ccb500d7b29061bfc8;p=quix0rs-gnu-social.git ??? Not Notice_tag? Signed-off-by: Roland Haeder --- 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;