]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
??? Not Notice_tag?
authorRoland Haeder <roland@mxchange.org>
Fri, 27 Mar 2015 22:44:37 +0000 (23:44 +0100)
committerRoland Haeder <roland@mxchange.org>
Fri, 27 Mar 2015 22:44:37 +0000 (23:44 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
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;