You are here

function simplenews_submit in Simplenews 5

Implementation of hook_submit().

File

./simplenews.module, line 377

Code

function simplenews_submit(&$node) {
  global $valid_mails;
  if ($node->send == 2 && $valid_mails) {
    $node->test_address = $valid_mails;
  }
}