diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Core/ExternalTask/ExternalTaskManager.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Core/ExternalTask/ExternalTaskManager.php b/app/Core/ExternalTask/ExternalTaskManager.php index 2ce6f106..dac0fde7 100644 --- a/app/Core/ExternalTask/ExternalTaskManager.php +++ b/app/Core/ExternalTask/ExternalTaskManager.php @@ -48,6 +48,8 @@ class ExternalTaskManager public function getProvidersList() { $providers = array_keys($this->providers); - return array_combine($providers, $providers); + if (count($providers)) { + return array_combine($providers, $providers); + } } } |