EZP-22995: Additional fix for undefined variable
Merge pull request #987 from joaoinacio/EZP-22995_formTokenWasEnabled

EZP-22995: Additional fix for undefined variable