Show
Ignore:
Timestamp:
03/12/09 05:46:37 (9 months ago)
Author:
fumiakiy
Message:

Merging frampton to trunk. "svn merge -r3083:3217 http://code.sixapart.com/svn/movabletype/branches/frampton ."

Also merged MT.pm, mt-check.cgi and mt.php.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/MT/CMS/Common.pm

    r3082 r3529  
    177177        # and template set to the defaults. 
    178178        if ( !$obj->id ) { 
    179             $obj->language( $app->user->preferred_language ); 
     179            $obj->language( $q->param('blog_language') || $app->user->preferred_language ); 
    180180            $obj->nofollow_urls(1); 
    181181            $obj->follow_auth_links(1); 
     
    981981                                            'entry_id', 
    982982                                            { category_id => $id }, 
    983                                             { unqiue      => 1 } 
     983                                            { unique      => 1 } 
    984984                                        ) 
    985985                                    }