mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
e032847e3e
commit
9afb0a1277
@ -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 = '';
|
||||
|
Loading…
Reference in New Issue
Block a user