diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-08-16 12:50:44 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-08-16 12:50:44 +0200 |
commit | 6645c014e9412c563c0baed7f3c20acaa639235d (patch) | |
tree | fde0e44912bf6961b134c1c8c051ba76defedb49 /apps/updatenotification/lib | |
parent | bdead84ec68001377e599230e86c3ea18d277a13 (diff) | |
download | nextcloud-server-6645c014e9412c563c0baed7f3c20acaa639235d.tar.gz nextcloud-server-6645c014e9412c563c0baed7f3c20acaa639235d.zip |
fix wrong return value of filtered whats new info
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/updatenotification/lib')
-rw-r--r-- | apps/updatenotification/lib/Settings/Admin.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/updatenotification/lib/Settings/Admin.php b/apps/updatenotification/lib/Settings/Admin.php index cae62ee0a9f..897b2555ad7 100644 --- a/apps/updatenotification/lib/Settings/Admin.php +++ b/apps/updatenotification/lib/Settings/Admin.php @@ -127,7 +127,8 @@ class Admin implements ISettings { do { $lang = $iterator->current(); if(isset($changes['whatsNew'][$lang])) { - return $filtered['whatsNew'][$lang]; + $filtered['whatsNew'] = $changes['whatsNew'][$lang]; + return $filtered; } $iterator->next(); } while($lang !== 'en' && $iterator->valid()); |