]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/tagcloudsection.php
Updated Cloudy theme default avatars and minor CSS
[quix0rs-gnu-social.git] / lib / tagcloudsection.php
index a46c7384687098d3ec0c0aff6c441b664beb8fb6..ff2aca6d6ec06eae34895ac3691fdb240aebcd80 100644 (file)
@@ -76,7 +76,7 @@ class TagCloudSection extends Section
 
         $this->out->elementStart('ul', 'tags xoxo tag-cloud');
         foreach ($tw as $tag => $weight) {
-            $this->showTag($tag, $weight, ($sum == 0) ? $weight : $weight/$sum);
+            $this->showTag($tag, $weight, ($sum == 0) ? 0 : $weight/$sum);
         }
         $this->out->elementEnd('ul');