Index: comment.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue/comment.inc,v
retrieving revision 1.129.2.2
diff -u -F^f -u -F^f -r1.129.2.2 comment.inc
--- comment.inc	14 Apr 2008 00:26:24 -0000	1.129.2.2
+++ comment.inc	28 Oct 2008 01:46:25 -0000
@@ -42,6 +42,16 @@ function project_issue_comment(&$arg, $o
       // We need this otherwise pid collides with comment.
       $form['project_info']['#tree'] = TRUE;
       $form['project_info']['#weight'] = -2;
+      // Fetch a list of all projects to make swapping simpler.
+      $uris = NULL;
+      $projects = array(t('<none>')) + project_projects_select_options($uris);
+      $form['project_info']['pid'] = array(
+        '#type' => 'select',
+        '#title' => t('Project'),
+        '#default_value' => $node->pid,
+        '#options' => $projects,
+        '#required' => TRUE,
+      );
 
       $form['issue_info']['#weight'] = -1;
       $form['#prefix'] = '<div class="project-issue"><div class="node-form"><div class="standard">';
@@ -66,7 +76,7 @@ function project_issue_comment(&$arg, $o
 
       // Remove the 'Project information' and 'Issue information' fieldsets,
       // they're ugly after we move things inside the 'Edit issue settings' fieldset.
-      unset($form['project_info']['#type'], $form['project_info']['#title'], $form['issue_info']['#type'], $form['issue_info']['#title']);
+      unset($form['project_info']['#type'], $form['project_info']['#title'], $form['issue_info']['#type'], $form['issue_info']['#title'], $form['project_info']['project_display']);
 
       // Restructure the UI to de-emphasize the original project form inputs.
       $form['original_issue']['project_info'] = $form['project_info'];
Index: issue.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue/issue.inc,v
retrieving revision 1.304.2.12
diff -u -F^f -u -F^f -r1.304.2.12 issue.inc
--- issue.inc	26 Oct 2008 18:36:58 -0000	1.304.2.12
+++ issue.inc	28 Oct 2008 01:46:26 -0000
@@ -682,7 +682,7 @@ function project_issue_form($node, $incl
   $form['#prefix'] = '<div class="project-issue">';
   $form['#suffix'] = '</div>';
 
-  // Fetch a list of all projects to make swapping simpler
+  // Fetch a list of all projects to test for access.
   $uris = NULL;
   $projects = array(t('<none>')) + project_projects_select_options($uris);
   if (count($projects) == 1) {
@@ -781,12 +781,14 @@ function project_issue_form($node, $incl
       '#prefix' => '<div class="inline-options">',
       '#suffix' => '</div>',
     );
-    $form['project_info']['pid'] = array(
-      '#type' => 'select',
+    $form['project_info']['project_display'] = array(
+      '#type' => 'item',
       '#title' => t('Project'),
-      '#default_value' => $node->pid,
-      '#options' => $projects,
-      '#required' => TRUE,
+      '#value' => check_plain($project->title),
+    );
+    $form['project_info']['pid'] = array(
+      '#type' => 'value',
+      '#value' => $node->pid,
     );
     if ($releases) {
       $form['project_info']['rid'] = array(
