1
0
Fork 0
forked from blallo/rss-bridge

[TwitterBridge] rename 'pic' parameter to more consistent 'nopic'

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-20 12:32:05 +02:00
parent 71d8f4c465
commit 6e66c228f8

View file

@ -13,7 +13,7 @@ class TwitterBridge extends BridgeAbstract{
'[ '[
{ {
"name" : "Hide profile pictures", "name" : "Hide profile pictures",
"identifier" : "pic", "identifier" : "nopic",
"type" : "checkbox", "type" : "checkbox",
"required" : false, "required" : false,
"exampleValue" : "checked", "exampleValue" : "checked",
@ -68,8 +68,8 @@ class TwitterBridge extends BridgeAbstract{
} }
$hidePictures = false; $hidePictures = false;
if (isset($param['pic'])) if (isset($param['nopic']))
$hidePictures = $param['pic'] === 'on'; $hidePictures = $param['nopic'] === 'on';
foreach($html->find('div.js-stream-tweet') as $tweet) { foreach($html->find('div.js-stream-tweet') as $tweet) {
$item = new \Item(); $item = new \Item();