]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/output/template/ForeachStatement.java
Fix templating. Add language to IterableDataset.
[gigi.git] / src / org / cacert / gigi / output / template / ForeachStatement.java
index 0b3c52697efe2554e89bd6cdf89ca51c9282fa42..38aad35f8f95d1d9573aaddb98807ccc546027f3 100644 (file)
@@ -22,7 +22,7 @@ final class ForeachStatement implements Outputable {
                if (o instanceof IterableDataset) {
                        IterableDataset id = (IterableDataset) o;
                        Map<String, Object> subcontext = new HashMap<String, Object>(vars);
-                       while (id.next(subcontext)) {
+                       while (id.next(l, subcontext)) {
                                body.output(out, l, subcontext);
                        }
                }