summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/gpg.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/gpg.php b/www/gpg.php
index f9b3a71..70db756 100644
--- a/www/gpg.php
+++ b/www/gpg.php
@@ -421,10 +421,10 @@ function expandVariants($name) {
}
}
$variants = $vnew;
+ $variants = array_unique($variants);
}
$variants = array_filter($variants, function($a) { return false === strstr($a, "&"); } );
- $variants = array_unique($variants);
return $variants;
}