Show
Ignore:
Timestamp:
04/02/08 19:01:50 (20 months ago)
Author:
bchoate
Message:

Set variable for template identifier to simplify default templates. BugId:69522

Files:
1 modified

Legend:

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

    r1677 r1725  
    23772377            return $ctx->error($builder->errstr); 
    23782378        } 
     2379        $tmpl->tokens( $tokens ); 
    23792380 
    23802381        $req->stash($stash_id, [ $tmpl, $tokens ]); 
     
    23822383 
    23832384    # Build the included template against the includ*ing* template's context. 
    2384     my $ret = $builder->build($ctx, $tokens, $cond); 
     2385    my $ret = $tmpl->build( $ctx, $cond ); 
    23852386    if (!defined $ret) { 
    23862387        $req->cache('build_template', $tmpl) if $tmpl;