Show
Ignore:
Timestamp:
07/02/08 06:10:49 (17 months ago)
Author:
auno
Message:

Revised parameter to use blog_id rather than blog_name. BugzID:80385

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/lib/MT/CMS/Template.pm

    r2669 r2676  
    16921692    require MT::Util; 
    16931693 
    1694     my @blogs; 
     1694    my @blog_ids; 
    16951695    my $refreshed; 
    16961696    foreach my $blog_id (@id) { 
     
    17091709              ) 
    17101710            { 
    1711                 push @blogs, $blog->name; 
     1711                push @blog_ids, $blog->id; 
    17121712                next; 
    17131713            } 
     
    18841884        $refreshed = 1; 
    18851885    } 
    1886     if (@blogs) { 
    1887         $app->add_return_arg( 'blog_name' => join( ',', @blogs ) ); 
     1886    if (@blog_ids) { 
     1887        $app->add_return_arg( 'error_id' => join( ',', @blog_ids ) ); 
    18881888    } 
    18891889    $app->add_return_arg( 'refreshed' => 1 ) if $refreshed;