? 826030_silence_duplicate_record_errors.patch
? comment_notify.install-removetranslation_0.patch
? comment_notify_849780.patch
? unfinished_hash_update.patch
Index: comment_notify.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/comment_notify/comment_notify.module,v
retrieving revision 1.73.2.6
diff -u -p -r1.73.2.6 comment_notify.module
--- comment_notify.module	11 Oct 2010 01:14:30 -0000	1.73.2.6
+++ comment_notify.module	11 Oct 2010 01:37:19 -0000
@@ -326,7 +326,7 @@ function comment_notify_user($type, &$ed
       if (isset($edit['node_notify_mailalert']) && isset($edit['comment_notify_mailalert'])) {
         db_query('UPDATE {comment_notify_user_settings} SET node_notify = %d, comment_notify = %d WHERE uid = %d', $edit['node_notify_mailalert'], $edit['comment_notify_mailalert'], $user->uid);
         if (!db_affected_rows()) {
-          db_query('INSERT INTO {comment_notify_user_settings} (uid, node_notify, comment_notify) VALUES (%d, %d, %d)', $user->uid, $edit['node_notify_mailalert'], $edit['comment_notify_mailalert']);
+          @db_query('INSERT INTO {comment_notify_user_settings} (uid, node_notify, comment_notify) VALUES (%d, %d, %d)', $user->uid, $edit['node_notify_mailalert'], $edit['comment_notify_mailalert']);
         }
       }
 
