From 8a862ec020f773911c6ee60d459cc3206bfc7122 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 17 Feb 2015 15:19:29 +0100 Subject: [PATCH] GetModels-Filtered: CVars: default_value-Ersetzung besser greifen --- SL/DB/Helper/CustomVariables.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/Helper/CustomVariables.pm b/SL/DB/Helper/CustomVariables.pm index fef521cfa..97837a287 100644 --- a/SL/DB/Helper/CustomVariables.pm +++ b/SL/DB/Helper/CustomVariables.pm @@ -309,7 +309,7 @@ sub make_cvar_custom_filter { query_is_sql => 1, ); - $query{config} =~ s{ \bdefault_value\b \s*=\s* (?!'') }{default_value::${conversion} = }x if $conversion; + $query{config} =~ s{ (? $config->dbh, -- 2.20.1