]> 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 Häder <roland@mxchange.org>
Sun, 29 Mar 2020 22:21:05 +0000 (00:21 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
plugins/TagCloud/lib/tagcloudsection.php

index d7b0929b7b9305c2ab5b8d010fd9927c370c062e..4bcef0d994fa0b2cdfd4168b9a9c696e5208b54d 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;