diff options
Diffstat (limited to 'lib/private/App')
-rw-r--r-- | lib/private/App/InfoParser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/App/InfoParser.php b/lib/private/App/InfoParser.php index 734f5c2c6af..e975ad6f096 100644 --- a/lib/private/App/InfoParser.php +++ b/lib/private/App/InfoParser.php @@ -156,7 +156,7 @@ class InfoParser { $totalElement = count($xml->{$element}); if (!isset($array[$element])) { - $array[$element] = ""; + $array[$element] = $totalElement > 1 ? [] : ""; } /** @var \SimpleXMLElement $node */ // Has attributes |