Index: modules/user/user.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.module,v
retrieving revision 1.853
diff -u -p -r1.853 user.module
--- modules/user/user.module	12 Oct 2007 10:41:48 -0000	1.853
+++ modules/user/user.module	20 Oct 2007 23:50:51 -0000
@@ -1339,7 +1339,7 @@ function user_edit_form(&$form_state, $u
   if (variable_get('user_pictures', 0) && !$register) {
     $form['picture'] = array('#type' => 'fieldset', '#title' => t('Picture'), '#weight' => 1);
     $picture = theme('user_picture', (object)$edit);
-    if ($picture) {
+    if ($edit['picture']) {
       $form['picture']['current_picture'] = array('#value' => $picture);
       $form['picture']['picture_delete'] = array('#type' => 'checkbox', '#title' => t('Delete picture'), '#description' => t('Check this box to delete your current picture.'));
     }
