Ensured validate_url does not fail when importing config, and instead, it gets a default BC value

This commit is contained in:
Alejandro Celaya 2017-10-23 13:56:07 +02:00
parent 909ecc2387
commit 26c455616b

View file

@ -191,7 +191,7 @@ final class CustomizableAppConfig implements ArraySerializableInterface
'SCHEMA' => $urlShortener['domain']['schema'],
'HOSTNAME' => $urlShortener['domain']['hostname'],
'CHARS' => $urlShortener['shortcode_chars'],
'VALIDATE_URL' => $urlShortener['validate_url'],
'VALIDATE_URL' => $urlShortener['validate_url'] ?? true,
]);
}
}