mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-05 19:44:42 +02:00
[bridges] Fix conditional checks on getInput
isset($this->getInput('')) does not work
This commit is contained in:
parent
8ed3b02899
commit
4f7fbae861
32 changed files with 68 additions and 68 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue