Show
Ignore:
Timestamp:
04/11/08 06:01:58 (20 months ago)
Author:
bchoate
Message:

Applied patches for if/elseif stomping on value variable. BugId:79027 Thanks, Ogawa-san.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-34/lib/MT/Template/ContextHandlers.pm

    r1855 r1859  
    14181418    } 
    14191419 
    1420     $ctx->{__stash}{vars}->{__value__} = $value; 
    1421     $ctx->{__stash}{vars}->{__name__} = $var; 
     1420    local $ctx->{__stash}{vars}{__cond_value__} = $value; 
     1421    local $ctx->{__stash}{vars}{__cond_name__} = $var; 
    14221422 
    14231423    if ( my $op = $args->{op} ) {