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

git-svn-id: http://svn.automattic.com/wordpress/trunk@11715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-07-14 08:39:56 +00:00
parent e032847e3e
commit 9afb0a1277
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 = '';