Index: wp-admin/includes/upload.php
===================================================================
--- wp-admin/includes/upload.php	(revision 6574)
+++ wp-admin/includes/upload.php	(working copy)
@@ -163,11 +163,11 @@
 <?php	endif; ?>
 			<tr>
 				<th scope="row"><label for="post_title"><?php _e('Title'); ?></label></th>
-				<td><input type="text" id="post_title" name="post_title" value="<?php echo $attachment->post_title; ?>" /></td>
+				<td><input type="text" id="post_title" name="post_title" value="<?php echo ( isset($attachment->post_title) ) ? $attachment->post_title : ''; ?>" /></td>
 			</tr>
 			<tr>
 				<th scope="row"><label for="post_content"><?php _e('Description'); ?></label></th>
-				<td><textarea name="post_content" id="post_content"><?php echo $attachment->post_content; ?></textarea></td>
+				<td><textarea name="post_content" id="post_content"><?php echo ( isset($attachment->post_conent) ) ? $attachment->post_content : ''; ?></textarea></td>
 			</tr>
 			<?php if (isset($attachment_data['image_meta'])) { ?>
 				<tr>
Index: wp-admin/includes/post.php
===================================================================
--- wp-admin/includes/post.php	(revision 6574)
+++ wp-admin/includes/post.php	(working copy)
@@ -134,8 +134,10 @@
 		$text       = wp_specialchars( stripslashes( urldecode( $_REQUEST['text'] ) ) );
 		$text       = funky_javascript_fix( $text);
 		$popupurl   = clean_url($_REQUEST['popupurl']);
-        $post_content = '<a href="'.$popupurl.'">'.$post_title.'</a>'."\n$text";
-    }
+		$post_content = '<a href="'.$popupurl.'">'.$post_title.'</a>'."\n$text";
+	} else
+		$post_content = '';	
+		
 
 	if ( !empty( $_REQUEST['excerpt'] ) )
 		$post_excerpt = wp_specialchars( stripslashes( $_REQUEST['excerpt'] ));
@@ -478,8 +480,8 @@
 	global $wpdb;
 	if ( false === $q )
 		$q = $_GET;
-	$q['m']   = (int) $q['m'];
-	$q['cat'] = (int) $q['cat'];
+	$q['m']   = ( isset($q['m']) ) ? (int) $q['m'] : 0;
+	$q['cat'] = ( isset($q['cat']) ) ? (int) $q['cat'] : 0;
 	$post_stati  = array(	//	array( adj, noun )
 				'draft' => array(__('Draft'), _c('Drafts|manage posts header')),
 				'future' => array(__('Scheduled'), __('Scheduled posts')),
@@ -497,10 +499,10 @@
 		$post_status_q = '&post_status=' . $q['post_status'];
 	}
 
-	if ( 'pending' === $q['post_status'] ) {
+	if ( isset($q['post_status']) && 'pending' === $q['post_status'] ) {
 		$order = 'ASC';
 		$orderby = 'modified';
-	} elseif ( 'draft' === $q['post_status'] ) {
+	} elseif ( isset($q['post_status']) && 'draft' === $q['post_status'] ) {
 		$order = 'DESC';
 		$orderby = 'modified';
 	} else {
