X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FCVar.pm;h=cdc05b5abf183825cb9045529333fbb702f315b5;hb=91ee6cb28c37fe07d001da04808f9c49e1959502;hp=4d9b6a700b846e9a1192c5296a4b47529f88aec1;hpb=9bd3030a376850c427c102c6e0c54f19bd19332e;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(