X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/2b82180a2117342c28fdf913fa135ca0a1828aea..927579ba66919f6fda8f2a34ff56c679fd76dc5d:/SL/DB/Helper/CustomVariables.pm diff --git a/SL/DB/Helper/CustomVariables.pm b/SL/DB/Helper/CustomVariables.pm index 839c49066..505db4ea1 100644 --- a/SL/DB/Helper/CustomVariables.pm +++ b/SL/DB/Helper/CustomVariables.pm @@ -149,9 +149,7 @@ sub _all_configs { require SL::DB::CustomVariableConfig; - $params{module} - ? SL::DB::Manager::CustomVariableConfig->get_all(query => [ module => $params{module} ]) - : SL::DB::Manager::CustomVariableConfig->get_all; + SL::DB::Manager::CustomVariableConfig->get_all_sorted($params{module} ? (query => [ module => $params{module} ]) : ()); } sub _overload_by_module {