mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-18 22:31:42 +02:00
[bridges] Fix conditional checks on getInput
isset($this->getInput('')) does not work
This commit is contained in:
@@ -18,7 +18,7 @@ class RTBFBridge extends BridgeAbstract {
|
||||
$limit = 10;
|
||||
$count = 0;
|
||||
|
||||
if (isset($this->getInput('c'))) {
|
||||
if ($this->getInput('c')) {
|
||||
$html = $this->getSimpleHTMLDOM('http://www.rtbf.be/auvio/emissions/detail?id='.$this->getInput('c')) or $this->returnServerError('Could not request RTBF.');
|
||||
|
||||
foreach($html->find('section[id!=widget-ml-avoiraussi-] .rtbf-media-grid article') as $element) {
|
||||
|
Reference in New Issue
Block a user