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 /lib/private/Updater | |
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 'lib/private/Updater')
-rw-r--r-- | lib/private/Updater/VersionCheck.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Updater/VersionCheck.php b/lib/private/Updater/VersionCheck.php index 30774393ecd..bc505211634 100644 --- a/lib/private/Updater/VersionCheck.php +++ b/lib/private/Updater/VersionCheck.php @@ -97,7 +97,7 @@ class VersionCheck { $tmp['versionstring'] = (string)$data->versionstring; $tmp['url'] = (string)$data->url; $tmp['web'] = (string)$data->web; - $tmp['changelog'] = isset($data->changelog) ? (string)$data->changelog : null; + $tmp['changelog'] = isset($data->changelog) ? (string)$data->changelog : ''; // TODO: one's it is decided, use the proper field… $tmp['whatsNew'] = isset($data->whatsNew) ? ((array)$data->whatsNew)['item'] : null; $tmp['whatsNew'] = isset($data->whatsNew_admin) ? ((array)$data->whatsNew_admin)['item'] : (string)$data->whatsNew; |