X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/2737667aa9394428f885187928509e7c5d0ec4d4..05047096df7e18aad6331c61e705499c2820ddde:/SL/Controller/CustomVariableConfig.pm diff --git a/SL/Controller/CustomVariableConfig.pm b/SL/Controller/CustomVariableConfig.pm index d87b8ac92..6601c07ec 100644 --- a/SL/Controller/CustomVariableConfig.pm +++ b/SL/Controller/CustomVariableConfig.pm @@ -59,12 +59,11 @@ sub action_new { sub show_form { my ($self, %params) = @_; - $self->flags([ - map { split m/=/, 2 } + $self->flags({ + map { split m/=/, $_, 2 } split m/;/, ($self->config->flags || '') - ]); + }); - $::request->layout->focus('#config_name'); $self->render('custom_variable_config/form', %params); }