? 486752_users_defaults_not_respected_for_no_mails.patch
? cleanup-comment-notify_0.patch
? comment_notify-array-warning-476526-7.patch
? comment_notify_6x_private.patch
? refactor_to_use_merlins_function.patch
Index: comment_notify.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/comment_notify/comment_notify.module,v
retrieving revision 1.64
diff -u -p -r1.64 comment_notify.module
--- comment_notify.module	14 Jun 2009 04:14:52 -0000	1.64
+++ comment_notify.module	14 Jun 2009 04:27:02 -0000
@@ -105,7 +105,7 @@ function comment_notify_form_alter(&$for
   }
   else {
     $user_preference = db_result(db_query("SELECT comment_notify FROM {comment_notify_user_settings} WHERE uid = %d", $user->uid));
-    $preference = !empty($user_preference) ? $user_preference : variable_get('comment_notify_default_registered_mailalert', COMMENT_NOTIFY_DISABLED);
+    $preference = strlen($user_preference) ? $user_preference : variable_get('comment_notify_default_registered_mailalert', COMMENT_NOTIFY_DISABLED);
   }
 
   // If you want to hide this on your site see http://drupal.org/node/322482
