diff --git a/lib/BackgroundJob/EnableAppsForGroup.php b/lib/BackgroundJob/EnableAppsForGroup.php index a0b7448..6c156dc 100644 --- a/lib/BackgroundJob/EnableAppsForGroup.php +++ b/lib/BackgroundJob/EnableAppsForGroup.php @@ -31,7 +31,14 @@ protected function run($argument): void { return; } foreach ($this->appIds as $appId) { + if (!is_string($appId)) { + continue; + } $appId = $this->appManager->cleanAppId($appId); + if ($this->appConfig->getValueString($appId, 'enabled', '') === 'yes') { + $this->enableLibreSign($appId); + continue; + } $toSave = $enabled = $this->appConfig->getValueArray($appId, 'enabled', []); if (!in_array($this->groupId, $toSave)) { $toSave[] = $this->groupId;