Make sure argumentsAdded flag is set correctly.

This commit is contained in:
Luke Taylor 2009-05-04 12:36:16 +00:00
parent e1bc1819da
commit 73cfeecd0c

View File

@ -46,6 +46,7 @@ class MethodSecurityEvaluationContext extends StandardEvaluationContext {
if (!argumentsAdded) {
addArgumentsAsVariables();
argumentsAdded = true;
}
return super.lookupVariable(name);