Changeset 1396

Show
Ignore:
Timestamp:
02/22/08 02:07:46 (8 months ago)
Author:
bchoate
Message:

Fixed test for custom DefaultEntryPrefs settings. BugId:66635

Files:

Legend:

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

    r1395 r1396  
    22972297    } 
    22982298    else { 
    2299         my %default = %{ $app->config->DefaultEntryPrefs }; 
    2300         if ( lc( $default{type} ) ne 'default' ) { 
    2301             $prefs = 'Advanced'; 
    2302         } 
    2303         elsif ( lc( $default{type} ) eq 'custom' ) { 
     2299        if ( lc( $default{type} ) eq 'custom' ) { 
    23042300            my %map = ( 
    23052301                Category   => 'category', 
     
    23172313            $prefs = join ',', @p; 
    23182314            $prefs ||= 'Custom'; 
     2315        } 
     2316        elsif ( lc( $default{type} ) ne 'default' ) { 
     2317            $prefs = 'Advanced'; 
    23192318        } 
    23202319        $default{button} = 'Bottom' if lc( $default{button} ) eq 'below';