mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38:14 -05:00
fix: correct know issues
Some checks are pending
Docker Build and Publish / build (push) Waiting to run
Some checks are pending
Docker Build and Publish / build (push) Waiting to run
This commit is contained in:
parent
444c3c93ed
commit
96df9305b6
@ -141,7 +141,7 @@ class Server extends Model
|
||||
|
||||
private function castValueWithConfig($value, array $config)
|
||||
{
|
||||
if ($value === null) {
|
||||
if ($value === null && $config['type'] !== 'object') {
|
||||
return $config['default'] ?? null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user