Show
Ignore:
Timestamp:
06/10/08 02:20:21 (18 months ago)
Author:
fumiakiy
Message:

Mistakenly uploaded the code that should not have been checked in yet.

Files:
1 modified

Legend:

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

    r2535 r2537  
    1263812638 
    1263912639sub _load_sibling_categories { 
    12640     my ($ctx, $cat, $class_type) = @_; 
     12640    my ($ctx, $cat) = @_; 
    1264112641    my $blog_id = $cat->blog_id; 
    1264212642    my $r = MT::Request->instance; 
     
    1264412644    return $cats if $cats; 
    1264512645 
    12646     my $class = MT->model($class_type); 
    12647     my @cats = $class->load({blog_id => $blog_id, parent => $cat->parent}, 
     12646    my @cats = MT::Category->load({blog_id => $blog_id, parent => $cat->parent}, 
    1264812647                                  {'sort' => 'label', direction => 'ascend'}); 
    1264912648    $r->stash('__cat_cache_'.$blog_id.'_'.$cat->parent, \@cats); 
     
    1268412683        (($uncompiled =~ /<MT:?Pages/i) ? 1 : 0); 
    1268512684    my $blog_id = $cat->blog_id; 
    12686     my $cats = _load_sibling_categories($ctx, $cat, $class_type); 
     12685    my $cats = _load_sibling_categories($ctx, $cat); 
    1268712686    my ($pos, $idx); 
    1268812687    $idx = 0;