Index: wp-includes/post.php
===================================================================
--- wp-includes/post.php	(revision 25463)
+++ wp-includes/post.php	(working copy)
@@ -2907,7 +2907,7 @@
 			if ( $wp_error )
 				return new WP_Error('invalid_page_template', __('The page template is invalid.'));
 			else
-				return 0;
+				$page_template = 'default';
 		}
 		update_post_meta($post_ID, '_wp_page_template',  $page_template);
 	}
