mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-11 19:14:09 +02:00
fix(binance): plus some other tweaks (#3753)
This commit is contained in:
@@ -193,7 +193,7 @@ class MastodonBridge extends BridgeAbstract
|
||||
&& preg_match('/^http(s|):\/\//', $attachment['url'], $match)
|
||||
) {
|
||||
$item['content'] = $item['content'] . '<br /><img ';
|
||||
if ($attachment['name']) {
|
||||
if (isset($attachment['name'])) {
|
||||
$item['content'] .= sprintf('alt="%s" ', $attachment['name']);
|
||||
}
|
||||
$item['content'] .= sprintf('src="%s" />', $attachment['url']);
|
||||
|
Reference in New Issue
Block a user