Fix title if language not set
This commit is contained in:
parent
ec7ef8f502
commit
3ec32bb6c2
1 changed files with 3 additions and 1 deletions
|
@ -625,7 +625,9 @@ class GithubTrendingBridge extends BridgeAbstract {
|
|||
}
|
||||
|
||||
public function getName(){
|
||||
if(!is_null($this->getInput('language'))) {
|
||||
if($this->getInput('language') == '') {
|
||||
return self::NAME . ' - all';
|
||||
} elseif (!is_null($this->getInput('language'))) {
|
||||
return self::NAME . ' - ' . $this->getInput('language');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue