*** spam.module.orig	Thu Sep 20 12:33:28 2007
--- spam.module	Thu Sep 20 12:33:31 2007
***************
*** 2630,2636 ****
   * Submit code for the spam_node_overview form/function
   */
  function spam_node_overview_submit ($form_id, $form_values) {
!   $operation = spam_node_operations($form_values['operation']);
  
    if ($operation) {
      foreach($form_values['nodes'] as $nid => $value) {
--- 2630,2636 ----
   * Submit code for the spam_node_overview form/function
   */
  function spam_node_overview_submit ($form_id, $form_values) {
!   $operation = spam_node_operations_list($form_values['operation']);
  
    if ($operation) {
      foreach($form_values['nodes'] as $nid => $value) {
***************
*** 2645,2651 ****
  /**
   * Return the function to call dependant on the $action requested.
   */
! function spam_node_operations($action = 'NOTHING') {
    switch($action) {
    case 'NOT_SPAM':
      $operation = 'spam_notspam_node';
--- 2645,2651 ----
  /**
   * Return the function to call dependant on the $action requested.
   */
! function spam_node_operations_list($action = 'NOTHING') {
    switch($action) {
    case 'NOT_SPAM':
      $operation = 'spam_notspam_node';
