mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 18:14:44 +02:00
fix: php errors (notices) (#3115)
This commit is contained in:
parent
8795cb252f
commit
52af2ae34c
9 changed files with 33 additions and 20 deletions
|
@ -40,6 +40,9 @@ class MoebooruBridge extends BridgeAbstract
|
|||
|
||||
foreach ($data as $datai) {
|
||||
$json = json_decode($datai, true);
|
||||
if ($json === null) {
|
||||
continue;
|
||||
}
|
||||
$item = [];
|
||||
$item['uri'] = $this->getURI() . '/post/show/' . $json['id'];
|
||||
$item['postid'] = $json['id'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue