summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/lib/UpdateChecker.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/updatenotification/lib/UpdateChecker.php')
-rw-r--r--apps/updatenotification/lib/UpdateChecker.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/updatenotification/lib/UpdateChecker.php b/apps/updatenotification/lib/UpdateChecker.php
index f7b45a03f26..ec8e119049b 100644
--- a/apps/updatenotification/lib/UpdateChecker.php
+++ b/apps/updatenotification/lib/UpdateChecker.php
@@ -59,7 +59,7 @@ class UpdateChecker {
if (strpos($data['changelog'], 'https://') === 0) {
$result['changelog'] = $data['changelog'];
}
- if($data['whatsNew'] !== null) {
+ if (is_array($data['whatsNew']) && count($data['whatsNew']) <= 3) {
$result['whatsNew'] = $data['whatsNew'];
}