mirror of
https://github.com/apache/struts.git
synced 2026-08-07 23:57:03 +00:00
Fix for WW-4312
A problem on Iterator tag and WW-3010 s:iterator fails to iterate over collections containing null
This commit is contained in:
committed by
Lukasz Lenart
parent
e9bd9453d5
commit
fd33dc84a6
@@ -304,7 +304,7 @@ public class IteratorComponent extends ContextBean {
|
||||
|
||||
String var = getVar();
|
||||
|
||||
if ((var != null) && (currentValue != null)) {
|
||||
if ((var != null)) {
|
||||
putInContext(currentValue);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user