--- parser3/src/classes/hash.C 2002/08/15 10:38:18 1.45 +++ parser3/src/classes/hash.C 2002/08/29 12:22:46 1.46 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_HASH_C="$Date: 2002/08/15 10:38:18 $"; +static const char* IDENT_HASH_C="$Date: 2002/08/29 12:22:46 $"; #include "classes.h" #include "pa_request.h" @@ -272,8 +272,8 @@ static void one_foreach_cycle(const Hash Foreach_info& i=*static_cast(info); i.vkey->set_string(akey); - i.r->root->put_element(*i.key_var_name, i.vkey, false); - i.r->root->put_element(*i.value_var_name, static_cast(avalue), false); + i.r->method_frame->put_element(*i.key_var_name, i.vkey, false); + i.r->method_frame->put_element(*i.value_var_name, static_cast(avalue), false); StringOrValue processed_body=i.r->process(*i.body_code); if(i.delim_maybe_code) { // delimiter set?