Add in missing return on validation/db write failure
This commit is contained in:
		@@ -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
 | 
			
		||||
				}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user