From b652183e2bc6f97fa623809c6eef8a9b87da874d Mon Sep 17 00:00:00 2001 From: Steffen Ritter Date: Wed, 29 Jan 2020 13:19:05 +0100 Subject: [baseconfig_bwlp] Fix validator regex Couldn't save empty SLX_FORCE_RESOLUTION --- modules-available/baseconfig_bwlp/baseconfig/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules-available/baseconfig_bwlp/baseconfig/settings.json b/modules-available/baseconfig_bwlp/baseconfig/settings.json index 3c83c371..4c0314cc 100644 --- a/modules-available/baseconfig_bwlp/baseconfig/settings.json +++ b/modules-available/baseconfig_bwlp/baseconfig/settings.json @@ -226,6 +226,6 @@ "catid": "other", "defaultvalue": "", "permissions": "2", - "validator": "regex:/^\\s*(\\d+x\\d+)(\\s+\\d+x\\d+)*\\s*$/i" + "validator": "regex:/^(\\s*(\\d+x\\d+)(\\s+\\d+x\\d+)*\\s*|)$/i" } } -- cgit v1.2.3-55-g7522