summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/lib/aurjson.class.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php
index e07522d4..9eeaafde 100644
--- a/web/lib/aurjson.class.php
+++ b/web/lib/aurjson.class.php
@@ -313,7 +313,10 @@ class AurJSON {
}
if ($this->version >= 2 && ($type == 'info' || $type == 'multiinfo')) {
- $row = array_merge($row, $this->get_extended_fields($row['ID'], $row['PackageBaseID']));
+ $extfields = $this->get_extended_fields($row['ID'], $row['PackageBaseID']);
+ if ($extfields) {
+ $row = array_merge($row, $extfields);
+ }
}
if ($this->version < 3) {