Index: includes/mail.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue/includes/mail.inc,v
retrieving revision 1.124
diff -u -F '^f' -u -F '^f' -r1.124 mail.inc
--- includes/mail.inc	8 Feb 2010 18:02:59 -0000	1.124
+++ includes/mail.inc	17 Apr 2010 22:00:31 -0000
@@ -205,6 +205,12 @@ function project_issue_mail_notify($nid)
   }
 
   $node = node_load($nid, NULL, TRUE);
+
+  // We don't want any notifications for unpublished nodes.
+  if (empty($node) || !$node->status) {
+    return;
+  }
+
   $project = node_load(array('nid' => $node->project_issue['pid'], 'type' => 'project_project'));
 
   // Store a copy of the issue, so we can load the original issue values
