Don't setPerRequestState with null

This commit is contained in:
moparisthebest 2014-04-23 13:34:56 -04:00
parent 05a2ddfe79
commit 9295099ed5
1 changed files with 2 additions and 1 deletions

View File

@ -589,7 +589,8 @@ public abstract class FlowController extends PageFlowManagedObject
}
finally
{
setPerRequestState( prevState );
if(prevState != null)
setPerRequestState( prevState );
PageFlowControlContainer pfcc = PageFlowControlContainerFactory.getControlContainer(request,getServletContext());
pfcc.endContextOnPageFlow(this);