Index: trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/d3forum_comment_synchro.php
===================================================================
--- trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/d3forum_comment_synchro.php	(revision 262)
+++ trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/d3forum_comment_synchro.php	(revision 264)
@@ -495,5 +495,9 @@
 	$modified_time = strtotime($row->comment_date);	// or	$row2['comment_date_gmt']
 	require_once (get_xpress_dir_path() . 'include/general_functions.php');
-	$uid =  wp_uid_to_xoops_uid($row->user_id,$mydirname);
+	if (empty($row->user_id)){
+		$uid = wp_comment_author_to_xoops_uid($row->comment_author,$row->comment_author_email);
+	} else {
+		$uid = wp_uid_to_xoops_uid($row->user_id,$mydirname);
+	}
 	$poster_ip = "'" . addslashes($row->comment_author_IP ). "'";
 	$modifier_ip = "'" . addslashes($row->comment_author_IP) . "'";
