mirror of
https://github.com/friendica/friendica
synced 2024-12-23 14:00:15 +00:00
Merge pull request #12278 from MrPetovan/bug/warnings
Address a couple of warnings
This commit is contained in:
commit
51b21b6709
2 changed files with 3 additions and 3 deletions
|
@ -1213,7 +1213,7 @@ class GServer
|
|||
|
||||
if (!empty($data['url'])) {
|
||||
$serverdata['platform'] = strtolower($data['platform']);
|
||||
$serverdata['version'] = $data['version'];
|
||||
$serverdata['version'] = $data['version'] ?? 'N/A';
|
||||
}
|
||||
|
||||
if (!empty($data['plugins'])) {
|
||||
|
|
|
@ -195,7 +195,7 @@ class Delayed
|
|||
|
||||
$id = Item::insert($item, $notify, $preparation_mode == self::PREPARED);
|
||||
|
||||
Logger::notice('Post stored', ['id' => $id, 'uid' => $item['uid'], 'cid' => $item['contact-id']]);
|
||||
Logger::notice('Post stored', ['id' => $id, 'uid' => $item['uid'], 'cid' => $item['contact-id'] ?? 'N/A']);
|
||||
|
||||
if (empty($uri) && !empty($item['uri'])) {
|
||||
$uri = $item['uri'];
|
||||
|
|
Loading…
Reference in a new issue