- fix: Can't create new account
- fix: Several new assets aren't added to config during upgrade process - fix: Post Subject HTML - fix: Matrix: can't instantiate template
This commit is contained in:
parent
ebf8fd8065
commit
aaa93d466b
5 changed files with 25 additions and 6 deletions
|
|
@ -157,7 +157,7 @@ sub validateProfileData {
|
|||
} elsif ($field->getId eq "email" && isDuplicateEmail($session,$data{$field->getId})) {
|
||||
$warning .= '<li>'.$i18n->get(1072).'</li>';
|
||||
}
|
||||
if ($field->getId eq "language") {
|
||||
if ($field->getId eq "language" && $fieldValue ne "") {
|
||||
unless (exists $i18n->getLanguages()->{$fieldValue}) {
|
||||
$error .= '<li>'.$field->getLabel.' '.$i18n->get(451).'</li>';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue