1
0
Fork 0
forked from blallo/rss-bridge

[WikipediaBridge] fix 'fullarticle' feature

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-25 17:18:47 +02:00
parent 5e33a27f7c
commit b676eca0a2

View file

@ -69,7 +69,7 @@ class WikipediaBridge extends BridgeAbstract{
$fullArticle = false; $fullArticle = false;
if(isset($params['fullarticle']['value'])) if(isset($params['fullarticle']['value']))
$fullArticle = $params['fullarticle']['value'] === 'on' ? true : false; $fullArticle = $params['fullarticle']['value'];
// We store the correct URI as URI of this bridge (so it can be used later!) // We store the correct URI as URI of this bridge (so it can be used later!)
$this->uri = 'https://' . strtolower($params['language']['value']) . '.wikipedia.org'; $this->uri = 'https://' . strtolower($params['language']['value']) . '.wikipedia.org';