- 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:
JT Smith 2006-07-11 16:44:59 +00:00
parent ebf8fd8065
commit aaa93d466b
5 changed files with 25 additions and 6 deletions

View file

@ -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>';
}