]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/tagcloudsection.php
??? Not Notice_tag?
[quix0rs-gnu-social.git] / lib / tagcloudsection.php
index ca72a27e521b38f161eedfffbca8759e23f34317..f82a0dd153189955507406de90cdd2b4f5b709b2 100644 (file)
@@ -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;