Make PR #2897 pass unit tests
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -48,8 +48,11 @@ class ExternalTaskManager
|
||||
public function getProvidersList()
|
||||
{
|
||||
$providers = array_keys($this->providers);
|
||||
|
||||
if (count($providers)) {
|
||||
return array_combine($providers, $providers);
|
||||
}
|
||||
|
||||
return array();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user