summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/lib/Controller/AdminController.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/updatenotification/lib/Controller/AdminController.php')
-rw-r--r--apps/updatenotification/lib/Controller/AdminController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/updatenotification/lib/Controller/AdminController.php b/apps/updatenotification/lib/Controller/AdminController.php
index c622b9690a7..2fc12140b20 100644
--- a/apps/updatenotification/lib/Controller/AdminController.php
+++ b/apps/updatenotification/lib/Controller/AdminController.php
@@ -101,7 +101,7 @@ class AdminController extends Controller {
}
$updateState = $this->updateChecker->getUpdateState();
- $notifyGroups = json_decode($this->config->getAppValue('updatenotification', 'notify_groups', '["admin"]'));
+ $notifyGroups = json_decode($this->config->getAppValue('updatenotification', 'notify_groups', '["admin"]'), true);
$params = [
'isNewVersionAvailable' => ($updateState === []) ? false : true,