diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | app/Core/ExternalTask/ExternalTaskManager.php | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -17,6 +17,7 @@ Improvements: Bug fixes: +* Fix compatibility issue with PHP 5.3 for array_combine function * Fix wrong controller name on project activity page when using filters Version 1.0.35 (Dec 4, 2016) diff --git a/app/Core/ExternalTask/ExternalTaskManager.php b/app/Core/ExternalTask/ExternalTaskManager.php index dac0fde7..102ec459 100644 --- a/app/Core/ExternalTask/ExternalTaskManager.php +++ b/app/Core/ExternalTask/ExternalTaskManager.php @@ -48,8 +48,11 @@ class ExternalTaskManager public function getProvidersList() { $providers = array_keys($this->providers); + if (count($providers)) { return array_combine($providers, $providers); } + + return array(); } } |