diff --git a/trunk/wp-admin/includes/ajax-actions.php b/trunk/wp-admin/includes/ajax-actions.php
index 29a11fc..5c73ec8 100644
--- a/trunk/wp-admin/includes/ajax-actions.php
+++ b/trunk/wp-admin/includes/ajax-actions.php
@@ -1662,13 +1662,16 @@ function wp_ajax_inline_save() {
 	$mode = $_POST['post_view'] === 'excerpt' ? 'excerpt' : 'list';
 
 	$level = 0;
-	$request_post = array( get_post( $_POST['post_ID'] ) );
-	$parent = $request_post[0]->post_parent;
 
-	while ( $parent > 0 ) {
-		$parent_post = get_post( $parent );
-		$parent = $parent_post->post_parent;
-		$level++;
+	if ( $wp_list_table->hierarchical_display ) {
+		$request_post = array( get_post( $_POST['post_ID'] ) );
+		$parent = $request_post[0]->post_parent;
+
+		while ( $parent > 0 ) {
+			$parent_post = get_post( $parent );
+			$parent = $parent_post->post_parent;
+			$level++;
+		}
 	}
 
 	$wp_list_table->display_rows( array( get_post( $_POST['post_ID'] ) ), $level );
