summaryrefslogtreecommitdiffstats
path: root/web/template/pkgbase_details.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/pkgbase_details.php')
-rw-r--r--web/template/pkgbase_details.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php
index 8a6e2b44..b2ce8cbe 100644
--- a/web/template/pkgbase_details.php
+++ b/web/template/pkgbase_details.php
@@ -108,7 +108,7 @@ endif;
</tr>
<tr>
<th><?= __('Popularity') . ': ' ?></th>
- <td><?= number_format($popularity, 6) ?></td>
+ <td><?= number_format($popularity, $popularity >= .2 ? 2 : 6) ?></td>
</tr>
<tr>
<th><?= __('First Submitted') . ': ' ?></th>