From 3bad5ec45c326313b8f8a593f549095da4f57a7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Mazi=C3=A8re?= Date: Thu, 25 Aug 2016 17:07:37 +0200 Subject: [PATCH] [TwitterBridge] fix 'nopic' feature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre Mazière --- bridges/TwitterBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/TwitterBridge.php b/bridges/TwitterBridge.php index f3ad13b..9404824 100644 --- a/bridges/TwitterBridge.php +++ b/bridges/TwitterBridge.php @@ -81,7 +81,7 @@ class TwitterBridge extends BridgeAbstract{ $hidePictures = false; if (isset($param['nopic']['value'])) - $hidePictures = $param['nopic']['value'] === 'on'; + $hidePictures = $param['nopic']['value']; foreach($html->find('div.js-stream-tweet') as $tweet) { $item = array();