use SL::DB::CustomVariableConfig;
use SL::Helper::Flash;
use SL::Locale::String;
+use Data::Dumper;
use Rose::Object::MakeMethods::Generic (
scalar => [ qw(config module module_description flags) ],
sub show_form {
my ($self, %params) = @_;
- $self->flags([
- map { split m/=/, 2 }
- split m/;/, ($self->config->flags || '')
- ]);
+ $self->flags({
+ map { split m/=/, $_, 2 }
+ split m/:/, ($self->config->flags || '')
+ });
- $::request->layout->focus('#config_name');
$self->render('custom_variable_config/form', %params);
}