Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-08 11:25:31 +0100
committerErich Eckner <git@eckner.net>2018-11-08 11:25:31 +0100
commitf79397a4bcdc2e55d5001b084beb5a3473480541 (patch)
tree1e97e97536084505893488f39f4f300b681e82cd /packages
parent570e97c96c555dea939e10bab79613600e327ea4 (diff)
packages/pkginfo.php: silence warning from array_unique()
Diffstat (limited to 'packages')
-rw-r--r--packages/pkginfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index 3e8af4d..a20df02 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -158,7 +158,7 @@ require_once BASE . "/lib/style.php";
$dependencies = array();
while ($row = $mysql_result -> fetch_assoc()) {
- $row["deps"] = array_unique(json_decode("{".$row["deps"]."}",true));
+ $row["deps"] = array_map("unserialize", array_unique(array_map("serialize", json_decode("{".$row["deps"]."}",true))));
$dependencies[] = $row;
}