From 3fb91ab1f45ff2164b349ce1dfbc8b612dc09f14 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Mon, 16 Jun 2025 10:52:38 +0100 Subject: [PATCH] Add in missing return on validation/db write failure --- Templates/controller.pm.tem | 1 + 1 file changed, 1 insertion(+) 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 }