--- nodecomment.module	2010-05-10 17:54:13.703125000 +0200
+++ nodecomment_mod.module	2010-05-10 17:56:43.343750000 +0200
@@ -640,8 +640,8 @@ function nodecomment_set_breadcrumb($nod
 function nodecomment_save($node) {
   global $user;
 
-  if ($node->uid === $user->uid) { // '===' because we want to modify anonymous users too
-    $node->name = $user->name;
+  if ($node->uid === $user->uid && isset($user->name)) { // '===' because we want to modify anonymous users too
+    $user->name;
   }
 
   if (!isset($node->thread)) {
