Show
Ignore:
Timestamp:
05/30/08 02:23:26 (18 months ago)
Author:
bchoate
Message:

Updates to optimize recently_commented_on, category and tag attributes for Entries tag - BugId:79914. Search app can now supply user state - BugId:79906. Fix for 2-digit year bug - BugId:79924

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-39/lib/MT/App/Search.pm

    r2438 r2463  
    496496    my $blog_id = $app->first_blog_id(); 
    497497    if ( $blog_id ) { 
     498        my $blog = $app->model('blog')->load($blog_id); 
     499        $app->blog( $blog ); 
    498500        $ctx->stash('blog_id', $blog_id); 
    499         $ctx->stash('blog',    $app->model('blog')->load($blog_id)); 
     501        $ctx->stash('blog',    $blog); 
    500502    } 
    501503    $ctx;