From 056c1ab03516b406b29912e9b7975e9ef6342526 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 22 Aug 2016 11:24:48 +0200 Subject: fix wrong var name --- lib/private/Settings/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Settings') diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php index 8451e965955..df2f52f816d 100644 --- a/lib/private/Settings/Manager.php +++ b/lib/private/Settings/Manager.php @@ -107,7 +107,7 @@ class Manager implements IManager { if(isset($appInfo['settings'][IManager::KEY_ADMIN_SECTION])) { $this->remove(self::TABLE_ADMIN_SECTIONS, $appInfo['settings'][IManager::KEY_ADMIN_SECTION]); } - if(isset($settings['settings'][IManager::KEY_ADMIN_SETTINGS])) { + if(isset($appInfo['settings'][IManager::KEY_ADMIN_SETTINGS])) { $this->remove(self::TABLE_ADMIN_SETTINGS, $appInfo['settings'][IManager::KEY_ADMIN_SETTINGS]); } } -- cgit v1.2.3