Don't setPerRequestState with null

This commit is contained in:
moparisthebest 2014-04-23 13:34:56 -04:00
parent 05a2ddfe79
commit 9295099ed5

View File

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