Advertisement
tribulant

Untitled

Sep 17th, 2013
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.42 KB | None | 0 0
  1. if (!empty($_POST['email'])) {
  2.                             if (!$Subscriber -> email_validate($_POST['email'])) { $errors['email'] = __($emailfield -> errormessage); }
  3.                             elseif ($_POST['email'] != $subscriber -> email && $Subscriber -> email_exists($_POST['email'])) { $errors[] = __('Email address is already in use, try another.', $this -> plugin_name); }
  4.                         } else {
  5.                             $errors['email'] = __($emailfield -> errormessage);
  6.                         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement