Fix for Code

seanr's picture
  1.       foreach ($codes as $code_name => $code_value) {
  2.         if ($code_value != '0') {
  3.           $volunteer_id = crmngp_crm_volunteer_save($contact_id, $code_value, $notes);
  4.           //$notes = ''; //notes only needs to appear for the first volunteer option
  5.         }
  6.       }

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.