Changeset 2124

Show
Ignore:
Timestamp:
04/28/08 03:32:42 (3 months ago)
Author:
fumiakiy
Message:

r2096 was not a good fix for BugId:68410. Fixed the fix.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-36/lib/MT/CMS/Template.pm

    r2119 r2124  
    2020        my $type = $q->param('type') || ( $obj ? $obj->type : undef ); 
    2121        return $app->return_to_dashboard( redirect => 1 ) 
    22             unless $type eq 'module' 
    23                 || $type eq 'custom' 
    24                 || $type eq 'widget' 
    25                 || $type eq 'widgetset'; 
     22            if $type eq 'archive' 
     23            || $type eq 'individual' 
     24            || $type eq 'category' 
     25            || $type eq 'page' 
     26            || $type eq 'index'; 
    2627    } 
    2728