Index: comment.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue/comment.inc,v
retrieving revision 1.129.2.3
diff -u -F^f -u -F^f -r1.129.2.3 comment.inc
--- comment.inc	29 Oct 2008 00:20:24 -0000	1.129.2.3
+++ comment.inc	16 Nov 2008 17:35:36 -0000
@@ -42,6 +42,20 @@ function project_issue_comment(&$arg, $o
       $form['project_info']['#tree'] = TRUE;
       $form['project_info']['#weight'] = -2;
 
+      // Remove the form item that displays the current project, and
+      // replace the static single project value with a select list
+      // of all projects to make swapping simpler.
+      unset($form['project_info']['project_display']);
+      $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">';
       $form['#suffix'] = '</div></div></div>';
Index: issue.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/project_issue/issue.inc,v
retrieving revision 1.304.2.13
diff -u -F^f -u -F^f -r1.304.2.13 issue.inc
--- issue.inc	29 Oct 2008 00:20:24 -0000	1.304.2.13
+++ issue.inc	16 Nov 2008 17:35:39 -0000
@@ -681,7 +681,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) {
@@ -780,12 +780,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(
