Index: drupalorg.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drupalorg/Attic/drupalorg.module,v
retrieving revision 1.66.2.9
diff -u -F^f -u -F^f -r1.66.2.9 drupalorg.module
--- drupalorg.module	20 Feb 2009 21:38:38 -0000	1.66.2.9
+++ drupalorg.module	24 Feb 2009 02:56:47 -0000
@@ -163,7 +163,7 @@ function drupalorg_form_alter(&$form, $f
 
   // Add security update related checks to release forms.
   if ($form_id == 'project_release_node_form') {
-    drupalorg_form_project_release_node_form_alter($form, $form_state, $form_id);
+    drupalorg_project_release_node_form_alter($form, $form_state, $form_id);
   }
   
   // Add CVS maintainer newsletter signup to users when getting a CVS account.
@@ -239,7 +239,7 @@ function drupalorg_form_alter(&$form, $f
  * Ensure that only privileged users can modify a security release tag and when
  * people add this tag, they get to know about the process.
  */
-function drupalorg_form_project_release_node_form_alter(&$form, $form_state, $form_id) {
+function drupalorg_project_release_node_form_alter(&$form, $form_state, $form_id) {
   if (!empty($form['taxonomy'])) {
     $vid = drupalorg_get_release_type_vid();
     $security_tid = drupalorg_get_security_update_tid();
@@ -257,7 +257,7 @@ function drupalorg_form_project_release_
           // Add wrapper div for js/drupal.release.node.js
           $form['taxonomy'][$vid]['#prefix'] = '<div class="release-type-select">';
           $form['taxonomy'][$vid]['#suffix'] = '</div>';
-          $form['#validate']['drupalorg_security_release_form_validate'] = array();
+          $form['#validate'][] = 'drupalorg_security_release_form_validate';
           $confirm_class = 'security-update-confirm';
           // Hide the confirmation checkbox on page load unless 'Security
           // update' is already selected.
@@ -353,7 +353,7 @@ function drupalorg_get_security_update_t
 function drupalorg_security_release_form_validate($form, &$form_state) {
   $vid = drupalorg_get_release_type_vid();
   $security_tid = drupalorg_get_security_update_tid();
-  if (!empty($form_values['taxonomy'][$vid][$security_tid]) && empty($form_values['security_update_confirm'])) {
+  if (!empty($form_state['values']['taxonomy'][$vid][$security_tid]) && empty($form_state['values']['security_update_confirm'])) {
     // Ensure the user confirms that this release should be marked security.
     form_set_error('security_update_confirm', t('You must confirm you want this release to be a <a href="@security_update_url">Security update</a>', array('@security_update_url' => DRUPALORG_SECURITY_UPDATE_HANDBOOK_URL)));
   }
