Changeset 2506

Show
Ignore:
Timestamp:
06/04/08 09:03:58 (21 months ago)
Author:
takayama
Message:

Fixed BugId:79981
* When blog_id of loaded widgetset and parameter is unmatched, redirects to the dashboard.

Files:
1 modified

Legend:

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

    r2504 r2506  
    22692269            ) 
    22702270          ); 
     2271        return $app->return_to_dashboard( redirect => 1 ) 
     2272            if $wtmpl->blog_id ne $blog_id; 
    22712273        $param->{name} = $wtmpl->name; 
    22722274        $param->{include_with_ssi} = $wtmpl->include_with_ssi