summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
Diffstat (limited to 'web/template')
-rw-r--r--web/template/pkg_details.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index b9fd51ba..8b038b9b 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -40,6 +40,8 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("Y-m-d", intval($
$lics = pkg_licenses($row["ID"]);
$grps = pkg_groups($row["ID"]);
+$deps = pkg_dependencies($row["ID"]);
+
usort($deps, function($x, $y) {
if ($x[1] != $y[1]) {
if ($x[1] == "depends") {
@@ -80,7 +82,6 @@ foreach ($rels as $rel) {
}
}
-$deps = pkg_dependencies($row["ID"]);
$requiredby = pkg_required($row["Name"], $rels_p);
# $sources[0] = 'src';