From 26c455616b069dbd19d7f6fddea9d8421ab3be77 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 23 Oct 2017 13:56:07 +0200 Subject: [PATCH] Ensured validate_url does not fail when importing config, and instead, it gets a default BC value --- module/CLI/src/Model/CustomizableAppConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/CLI/src/Model/CustomizableAppConfig.php b/module/CLI/src/Model/CustomizableAppConfig.php index 5ef42d1f..5784f753 100644 --- a/module/CLI/src/Model/CustomizableAppConfig.php +++ b/module/CLI/src/Model/CustomizableAppConfig.php @@ -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, ]); } }