diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-06-01 10:29:46 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-06-29 09:08:33 +0200 |
commit | 1e0761c6b8f035e73f89afa66dcdcf032e5f917d (patch) | |
tree | d28c2d5a419c68a9f94318eaa7258ef35f15613f /apps/updatenotification/lib/UpdateChecker.php | |
parent | bafb6b3c29995cdac283ea68c419213766d6a1d6 (diff) | |
download | nextcloud-server-1e0761c6b8f035e73f89afa66dcdcf032e5f917d.tar.gz nextcloud-server-1e0761c6b8f035e73f89afa66dcdcf032e5f917d.zip |
adjust tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/updatenotification/lib/UpdateChecker.php')
-rw-r--r-- | apps/updatenotification/lib/UpdateChecker.php | 2 |
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']; } |