Index: edit-form-advanced.php
===================================================================
--- edit-form-advanced.php	(revision 6620)
+++ edit-form-advanced.php	(working copy)
@@ -97,7 +97,7 @@
 <p>
 <select name='post_status'>
 <?php if ( current_user_can('publish_posts') ) : ?>
-<?php ( 'private' == $post-post_status ) ? $pub_value = 'private' : $pub_value = 'publish'; ?>
+<?php $pub_value = ( 'private' == $post->post_status ) ? 'private' : 'publish'; ?>
 <option<?php selected( $post->post_status, 'publish' ); selected( $post->post_status, 'future' ); selected( $post->post_status, 'private' );?> value='<?php echo $pub_value ?>'><?php _e('Published') ?></option>
 <?php else: ?>
 <option<?php selected( $post->post_status, 'private' ); ?> value='private'><?php _e('Published') ?></option>
