mirror of
https://github.com/friendica/friendica
synced 2025-04-30 07:44:22 +02:00
Fix various PHP 8 deprecations
This commit is contained in:
parent
a147038c2e
commit
6f93ee7e49
10 changed files with 19 additions and 23 deletions
|
@ -3638,7 +3638,7 @@ class Diaspora
|
|||
|
||||
Logger::info('Got relayable data ' . $type . ' for item ' . $item['guid'] . ' (' . $item['id'] . ')');
|
||||
|
||||
$msg = json_decode($item['signed_text'], true);
|
||||
$msg = json_decode($item['signed_text'] ?? '', true);
|
||||
|
||||
$message = [];
|
||||
if (is_array($msg)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue