Make PR #2897 pass unit tests
This commit is contained in:
@@ -17,6 +17,7 @@ Improvements:
|
|||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|
||||||
|
* Fix compatibility issue with PHP 5.3 for array_combine function
|
||||||
* Fix wrong controller name on project activity page when using filters
|
* Fix wrong controller name on project activity page when using filters
|
||||||
|
|
||||||
Version 1.0.35 (Dec 4, 2016)
|
Version 1.0.35 (Dec 4, 2016)
|
||||||
|
|||||||
@@ -48,8 +48,11 @@ class ExternalTaskManager
|
|||||||
public function getProvidersList()
|
public function getProvidersList()
|
||||||
{
|
{
|
||||||
$providers = array_keys($this->providers);
|
$providers = array_keys($this->providers);
|
||||||
|
|
||||||
if (count($providers)) {
|
if (count($providers)) {
|
||||||
return array_combine($providers, $providers);
|
return array_combine($providers, $providers);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return array();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user