]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/CVar.pm
Debian Pakete, fehlende Verzeichnisse
[kivitendo-erp.git] / SL / CVar.pm
index 4d9b6a700b846e9a1192c5296a4b47529f88aec1..cdc05b5abf183825cb9045529333fbb702f315b5 100644 (file)
@@ -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(