? comment_notify-array-warning-476526-6.patch
Index: comment_notify.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/comment_notify/comment_notify.module,v
retrieving revision 1.60
diff -u -p -r1.60 comment_notify.module
--- comment_notify.module	15 Apr 2009 15:56:22 -0000	1.60
+++ comment_notify.module	5 Jun 2009 23:15:13 -0000
@@ -95,6 +95,11 @@ function comment_notify_form_alter(&$for
     }
   }
 
+  // No options available; nothing else to do here.
+  if (empty($available_options)) {
+    return;
+  }
+
   // Add the checkbox for anonymous users and set the default based on admin settings.
   if ($user->uid == 0) {
     // If anonymous user's can't enter their e-mail don't tempt them with the checkbox.
