Add a default value for $data['version'] in Model\GServer
- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1327320541
This commit is contained in:
parent
b6d62003a6
commit
a5f601718f
1 changed files with 2 additions and 2 deletions
|
@ -1213,7 +1213,7 @@ class GServer
|
||||||
|
|
||||||
if (!empty($data['url'])) {
|
if (!empty($data['url'])) {
|
||||||
$serverdata['platform'] = strtolower($data['platform']);
|
$serverdata['platform'] = strtolower($data['platform']);
|
||||||
$serverdata['version'] = $data['version'];
|
$serverdata['version'] = $data['version'] ?? 'N/A';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($data['plugins'])) {
|
if (!empty($data['plugins'])) {
|
||||||
|
|
Loading…
Reference in a new issue