From 529e418589ab243d7740c5cd5bf4630b0d3bdfe6 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 7 Sep 2020 11:45:57 +0300 Subject: [PATCH] Set default notifications setting value for the installation admin. --- application/controllers/Installation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/controllers/Installation.php b/application/controllers/Installation.php index 1a8b3130..d2c12d3c 100644 --- a/application/controllers/Installation.php +++ b/application/controllers/Installation.php @@ -112,6 +112,7 @@ class Installation extends CI_Controller { $admin['timezone'] = 'UTC'; $admin['settings']['username'] = $admin['username']; $admin['settings']['password'] = $admin['password']; + $admin['settings']['notifications'] = true; $admin['settings']['calendar_view'] = CALENDAR_VIEW_DEFAULT; unset($admin['username'], $admin['password']); $admin['id'] = $this->admins_model->add($admin);