From 37c2cc1204483de9930a8455ce46ec077cf97b88 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 11 Oct 2018 23:33:22 +0200 Subject: packages/pkginfo.php: remove duplicate dependencies --- packages/pkginfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') 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; } -- cgit v1.2.3-70-g09d2