diff options
author | Johannes Starosta <j.starosta@tu-braunschweig.de> | 2015-07-13 06:58:44 +0300 |
---|---|---|
committer | Johannes Starosta <j.starosta@tu-braunschweig.de> | 2015-07-13 06:58:44 +0300 |
commit | db941b30aa17d04386aa0fbbfc5e5e47592be37f (patch) | |
tree | baf5e3679cfb5b97c9dacbbc044fe5089f145cfc | |
parent | 2891795b7a4592da3d8386cf9b386322c19560f1 (diff) |
Fixed invalid mail error msg
-rw-r--r-- | controller/registercontroller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/registercontroller.php b/controller/registercontroller.php index 5657642..f7b569a 100644 --- a/controller/registercontroller.php +++ b/controller/registercontroller.php @@ -67,7 +67,7 @@ class RegisterController extends Controller { public function validateEmail() { $email = $this->request->getParam('email'); if ( !filter_var($email, FILTER_VALIDATE_EMAIL) ) { - return new TemplateResponse('', 'error', array(array('error' => $this->l10n->t('Email address you entered is not valid'))), 'error'); + // return new TemplateResponse('', 'error', array(array('error' => $this->l10n->t('Email address you entered is not valid'))), 'error'); return new TemplateResponse('', 'error', array( 'errors' => array(array( 'error' => $this->l10n->t('Email address you entered is not valid'), |