Show
Ignore:
Timestamp:
06/04/08 03:57:17 (18 months ago)
Author:
fumiakiy
Message:

Show Save&Rebuild button when template has a static map even if the profile is set to dynamic. BugId:80014

Files:
1 modified

Legend:

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

    r2445 r2504  
    988988    # 404 will be triggered. 
    989989    require MT::PublishOption; 
    990     if ( $tmpl->build_dynamic 
    991       || ( $map->build_type == MT::PublishOption::DYNAMIC() ) ) 
     990    if ( $map->build_type == MT::PublishOption::DYNAMIC() )  
    992991    { 
    993992        rename( 
     
    10031002    } 
    10041003 
    1005     return 1 if ( $tmpl->build_dynamic ) 
    1006         || ( $map->build_type == MT::PublishOption::DYNAMIC() ); 
     1004    return 1 if ( $map->build_type == MT::PublishOption::DYNAMIC() ); 
    10071005    return 1 if ( $entry && $entry->status != MT::Entry::RELEASE() ); 
    1008     return 1 unless ( $tmpl->build_type ); 
     1006    return 1 unless ( $map->build_type ); 
    10091007 
    10101008    my $timer = MT->get_timer;