[bridges] Fix conditional checks on getInput

isset($this->getInput('')) does not work
This commit is contained in:
logmanoriginal 2016-08-28 20:38:01 +02:00
parent 8ed3b02899
commit 4f7fbae861
32 changed files with 68 additions and 68 deletions

View file

@ -27,7 +27,7 @@ class GitlabCommitsBridge extends BridgeAbstract{
public function collectData(){
$uri = $this->getInput('uri').'/'.$this->getInput('u').'/'.$this->getInput('p').'/commits/';
if(isset($this->getInput('b'))){
if($this->getInput('b')){
$uri.=$this->getInput('b');
}else{
$uri.='master';