user add/edit case sensitivity fix

This commit is contained in:
SJ 2014-10-15 09:37:24 +02:00
parent 0a78b061d5
commit f940b404f8
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ private function validate() {
else {
$emails = explode("\n", $this->request->post['email']);
foreach ($emails as $email) {
$email = rtrim($email);
$email = strtolower(rtrim($email));
if($email == '') { continue; }
$ret = checkemail($email, $this->domains);

View File

@ -113,7 +113,7 @@ class ControllerUserEdit extends Controller {
} else {
$emails = explode("\n", $this->request->post['email']);
foreach ($emails as $email) {
$email = rtrim($email);
$email = strtolower(rtrim($email));
if($email == '') { continue; }