mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-16 13:34:11 +02:00
fix: various php notices (#3145)
* fix: notice * fix: Trying to get property content of non-object at bridges/PcGamerBridge.php line 36 * fix: better exception message * fix: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
This commit is contained in:
@@ -67,7 +67,7 @@ class GelbooruBridge extends BridgeAbstract
|
||||
. $thumbnailUri . '" /></a><br><br><b>Dimensions:</b> '
|
||||
. strval($element->width) . ' x ' . strval($element->height) . '<br><br><b>Tags:</b> '
|
||||
. $item['tags'];
|
||||
if (!is_null($element->source)) {
|
||||
if (isset($element->source)) {
|
||||
$item['content'] .= '<br><br><b>Source: </b><a href="' . $element->source . '">' . $element->source . '</a>';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user