fix javascript assertion when creating a new account.

this bug was introduced when I landed the changes for #21978
This commit is contained in:
sspitzer%netscape.com 2000-01-07 08:35:18 +00:00
Родитель 8c9d0a489a
Коммит 9fa1876e8a
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -1842,7 +1842,9 @@ nsMsgAccountManager::CreateLocalMailAccount(nsIMsgIdentity *identity, PRBool mig
// if the "mail.directory" pref is set, use that.
// if they used -installer, this pref will point to where their files got copied
if (identity) {
// this only makes sense when we are migrating
// for a new profile, that pref won't be set.
if (identity && migrating) {
rv = m_prefs->GetFilePref(PREF_MAIL_DIRECTORY, getter_AddRefs(mailDir));
}
else {