1
0
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:
logmanoriginal
2016-08-28 20:38:01 +02:00
parent 8ed3b02899
commit 4f7fbae861
32 changed files with 68 additions and 68 deletions

View File

@@ -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) {