API: The instance record had got a malformatted value

This commit is contained in:
Michael 2021-05-14 05:09:11 +00:00
parent 3f6b079976
commit 55919dbd06

View File

@ -80,7 +80,7 @@ class Instance extends BaseDataTransferObject
$instance->description = DI::config()->get('config', 'info');
$instance->email = DI::config()->get('config', 'admin_email');
$instance->version = FRIENDICA_VERSION;
$instance->urls = []; // Not supported
$instance->urls = null; // Not supported
$instance->stats = Stats::get();
$instance->thumbnail = $baseUrl->get() . (DI::config()->get('system', 'shortcut_icon') ?? 'images/friendica-32.png');
$instance->languages = [DI::config()->get('system', 'language')];