Add in missing return on validation/db write failure
This commit is contained in:
parent
7f02b4f109
commit
3fb91ab1f4
@ -175,6 +175,7 @@ sub do_update {
|
|||||||
${prefix}_data => \%${prefix}_data
|
${prefix}_data => \%${prefix}_data
|
||||||
);
|
);
|
||||||
$c->render(template => "${lcPackageName}");
|
$c->render(template => "${lcPackageName}");
|
||||||
|
return
|
||||||
} else {
|
} else {
|
||||||
$c->stash( success => $c->l('${panel} panel action was successful')); #A bit bland - edit it in the lex file
|
$c->stash( success => $c->l('${panel} panel action was successful')); #A bit bland - edit it in the lex file
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user