aboutsummaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/lib/Settings/Admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/updatenotification/lib/Settings/Admin.php')
-rw-r--r--apps/updatenotification/lib/Settings/Admin.php3
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());