From f79397a4bcdc2e55d5001b084beb5a3473480541 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 8 Nov 2018 11:25:31 +0100 Subject: packages/pkginfo.php: silence warning from array_unique() --- packages/pkginfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-70-g09d2