? .DS_Store
? modules/system/system.admin
? sites/all/modules/devel
? sites/default/files
? sites/default/settings.php
? themes/.DS_Store
Index: modules/comment/comment.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v
retrieving revision 1.904
diff -u -p -r1.904 comment.module
--- modules/comment/comment.module	5 Oct 2010 06:17:28 -0000	1.904
+++ modules/comment/comment.module	12 Oct 2010 02:08:48 -0000
@@ -1414,7 +1414,7 @@ function comment_access($op, $comment) {
  */
 function comment_save($comment) {
   global $user;
-
+dsm($comment);
   $transaction = db_transaction();
   try {
     $defaults =  array(
@@ -1440,6 +1440,10 @@ function comment_save($comment) {
     module_invoke_all('comment_presave', $comment);
 
     if ($comment->cid) {
+      if (empty($comment->name)) {
+        $comment->uid = 0;
+        $comment->name = variable_get('anonymous', t('Anonymous'));
+      }
       // Update the comment in the database.
       db_update('comment')
         ->fields(array(
@@ -2158,7 +2162,9 @@ function comment_form_submit_build_comme
  */
 function comment_form_submit($form, &$form_state) {
   $node = node_load($form_state['values']['nid']);
+dsm($form['#builder_function']);
   $comment = $form['#builder_function']($form, $form_state);
+
   if (user_access('post comments') && (user_access('administer comments') || $node->comment == COMMENT_NODE_OPEN)) {
     // Save the anonymous user information to a cookie for reuse.
     if (!$comment->uid) {
