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

git-svn-id: https://develop.svn.wordpress.org/trunk@11715 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-07-14 08:39:56 +00:00
parent a8855d1e60
commit 6b3f1c63a0
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ foreach ($arc_result as $arc_row) {
continue;
$arc_row->mmonth = zeroise( $arc_row->mmonth, 2 );
if ( $arc_row->yyear . $arc_row->mmonth == $_GET['m'] )
if ( isset($_GET['m']) && ( $arc_row->yyear . $arc_row->mmonth == $_GET['m'] ) )
$default = ' selected="selected"';
else
$default = '';