]> git.mxchange.org Git - friendica.git/commitdiff
Maybe this fixes missing array element
authorRoland Häder <roland@mxchange.org>
Thu, 23 Jun 2022 05:39:27 +0000 (07:39 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 23 Jun 2022 05:40:49 +0000 (07:40 +0200)
src/Protocol/OStatus.php

index ddc55a2c5bd4dcf0e10d50e023ecc99635dafffe..f03ed2b4fb3f95686e82ccff8118659f011ddad1 100644 (file)
@@ -1401,7 +1401,7 @@ class OStatus
                                break;
 
                        default:
-                               Logger::warning('Unsupported type', ['type' => $siteinfo['type'], 'url' => $siteinfo['url']]);
+                               Logger::warning('Unsupported type', ['type' => $siteinfo['type'], 'url' => $siteinfo['url'] ?? '']);
                                break;
                }