Make WordPress Core


Ignore:
Timestamp:
07/14/2009 08:39:56 AM (16 years ago)
Author:
azaozz
Message:

Fix notice in upload.php, props mrmist, fixes #10223

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upload.php

    r11554 r11715  
    268268    $arc_row->mmonth = zeroise( $arc_row->mmonth, 2 );
    269269
    270     if ( $arc_row->yyear . $arc_row->mmonth == $_GET['m'] )
     270    if ( isset($_GET['m']) && ( $arc_row->yyear . $arc_row->mmonth == $_GET['m'] ) )
    271271        $default = ' selected="selected"';
    272272    else
Note: See TracChangeset for help on using the changeset viewer.