diff --git a/Templates/controller.pm.tem b/Templates/controller.pm.tem index b1f7658..bddd7c5 100644 --- a/Templates/controller.pm.tem +++ b/Templates/controller.pm.tem @@ -175,6 +175,7 @@ sub do_update { ${prefix}_data => \%${prefix}_data ); $c->render(template => "${lcPackageName}"); + return } else { $c->stash( success => $c->l('${panel} panel action was successful')); #A bit bland - edit it in the lex file }