1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-06 16:46:30 +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:
Dag
2022-11-15 00:30:51 +01:00
committed by GitHub
parent 734a5868b8
commit 95c199c2eb
5 changed files with 13 additions and 8 deletions

View File

@@ -420,7 +420,7 @@ class ReutersBridge extends BridgeAbstract
{
$description = '';
foreach ($contents as $content) {
$data;
$data = '';
if (isset($content['content'])) {
$data = $content['content'];
}