X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FCVar.pm;h=cdc05b5abf183825cb9045529333fbb702f315b5;hb=d5d5779f5bc70ed1b224ff57a147a5db25767d88;hp=4d9b6a700b846e9a1192c5296a4b47529f88aec1;hpb=66022cbd0893e066eec8826a15884d2d0457fe4f;p=kivitendo-erp.git diff --git a/SL/CVar.pm b/SL/CVar.pm index 4d9b6a700..cdc05b5ab 100644 --- a/SL/CVar.pm +++ b/SL/CVar.pm @@ -490,8 +490,7 @@ sub build_filter_query { } if (@sub_where) { - push @sub_where, qq|cvar.sub_module = ?|; - push @sub_values, "$params{sub_module}"; + add_token(\@sub_where, \@sub_values, col => 'cvar.sub_module', val => $params{sub_module} || ''); push @where, qq|$not EXISTS(