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=164123278767f953bc053d24829b54605d419afe;p=quix0rs-gnu-social.git ??? Not Notice_tag? Signed-off-by: Roland Haeder --- 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;