Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-06-01 11:29:46 +0300
committerMorris Jobke <hey@morrisjobke.de>2018-06-29 10:08:33 +0300
commit1e0761c6b8f035e73f89afa66dcdcf032e5f917d (patch)
treed28c2d5a419c68a9f94318eaa7258ef35f15613f /lib/private/Updater
parentbafb6b3c29995cdac283ea68c419213766d6a1d6 (diff)
adjust tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private/Updater')
-rw-r--r--lib/private/Updater/VersionCheck.php2
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;