@@ 476-478 (lines=3) @@ | ||
473 | $subscrObj->setVar('subscr_email', Request::getString('subscr_email', '')); |
|
474 | $subscrObj->setVar('subscr_actkey', Request::getString('subscr_actkey', '')); |
|
475 | // insert subscr |
|
476 | if (!$helper->getHandler('Subscr')->insert($subscrObj)) { |
|
477 | redirect_header($currentFile, 3, _MA_XNEWSLETTER_SUBSCRIPTION_ERROR_SAVESUBSCR . '<br>' . $subscrObj->getHtmlErrors()); |
|
478 | } |
|
479 | if ($subscr_id > 0) { |
|
480 | $actionProts_ok[] = _MA_XNEWSLETTER_SUBSCRIPTION_UPDATE_OK; |
|
481 | } else { |
|
@@ 583-585 (lines=3) @@ | ||
580 | ]; |
|
581 | $subscrObj->setVar('subscr_actoptions', $activationOptions); // XOBJ_DTYPE_ARRAY |
|
582 | // insert subscr |
|
583 | if (!$helper->getHandler('Subscr')->insert($subscrObj)) { |
|
584 | redirect_header($currentFile, 3, _MA_XNEWSLETTER_SUBSCRIPTION_ERROR_SAVESUBSCR . '<br>' . $subscrObj->getHtmlErrors()); |
|
585 | } |
|
586 | if ($subscr_id > 0) { |
|
587 | $actionProts_ok[] = _MA_XNEWSLETTER_SUBSCRIPTION_UPDATE_OK; |
|
588 | } else { |