Fix various PHP 8 deprecations

This commit is contained in:
Hypolite Petovan
2022-11-19 19:10:02 -05:00
parent a147038c2e
commit 6f93ee7e49
10 changed files with 19 additions and 23 deletions

View File

@@ -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)) {