summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/template/pkg_details.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index 7176e106..a4cd3472 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -56,6 +56,7 @@ $sources = package_sources($row["ID"]);
<?php endif; ?>
<?php endif; ?>
</ul>
+ <?php if ($uid): ?>
<form action="<?php echo htmlspecialchars(get_pkg_uri($row['Name']), ENT_QUOTES); ?>" method="post">
<div>
<input type="hidden" name="IDs[<?php echo $row['ID'] ?>]" value="1" />
@@ -71,6 +72,7 @@ $sources = package_sources($row["ID"]);
<?php endif; ?>
</p>
</form>
+ <?php endif; ?>
</div>
</div>