index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | packages/pkginfo.php | 2 |
diff --git a/packages/pkginfo.php b/packages/pkginfo.php index 58d74c1..78a07c8 100644 --- a/packages/pkginfo.php +++ b/packages/pkginfo.php @@ -144,7 +144,7 @@ require_once BASE . "/lib/style.php"; $dependencies = array(); while ($row = $mysql_result -> fetch_assoc()) { - $row["deps"] = json_decode("{".$row["deps"]."}",true); + $row["deps"] = array_unique(json_decode("{".$row["deps"]."}",true)); $dependencies[] = $row; } |