diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2003-08-01 12:22:34 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2003-08-01 12:22:34 +0000 |
commit | 4a235afee40ff8154a8c739fe6e196c8b2ebd200 (patch) | |
tree | 605388823245e7c377ddf51cb5d437259decbac7 | |
parent | c94681d7849bfbe1001ca6fd3ab01d67c8a8ecb6 (diff) | |
download | MPC-4a235afee40ff8154a8c739fe6e196c8b2ebd200.tar.gz |
ChangeLogTag: Fri Aug 1 07:21:39 2003 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r-- | modules/TemplateParser.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/TemplateParser.pm b/modules/TemplateParser.pm index 9922045f..7c550ade 100644 --- a/modules/TemplateParser.pm +++ b/modules/TemplateParser.pm @@ -385,6 +385,8 @@ sub process_foreach { $$scope{'forlast'} = 1; $$scope{'fornotlast'} = 0; } + $$scope{'forcount'} = $i + 1; + ## We don't use adjust_value here because these names ## are generated from a foreach and should not be adjusted. $$scope{$name} = $value; |