mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-09 18:16:36 +02:00
[bridges] Fix conditional checks on getInput
isset($this->getInput('')) does not work
This commit is contained in:
@@ -17,7 +17,7 @@ class VkBridge extends BridgeAbstract {
|
||||
|
||||
public function collectData(){
|
||||
$html = '';
|
||||
if (isset($this->getInput('u'))) {
|
||||
if ($this->getInput('u')) {
|
||||
$text_html = $this->getSimpleHTMLDOM(urldecode($this->getInput('u')))
|
||||
or $this->returnServerError('No results for this query.');
|
||||
$text_html = iconv('windows-1251', 'utf-8', $text_html);
|
||||
|
Reference in New Issue
Block a user