Skip to content

Commit

Permalink
Merge pull request #1908 from dnnsoftware/bug/DNN-10145
Browse files Browse the repository at this point in the history
DNN-10145: apply same parameters with CreateLocalizedCopies method.
  • Loading branch information
tpluscode committed Jan 4, 2018
2 parents 9a2c328 + 4c25bf9 commit 9afe07c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DNN Platform/Library/Entities/Tabs/TabController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ public void AddMissingLanguages(int portalId, int tabId)
// we are adding missing languages to a single culture page that is not in the default language
// so we must first add a page in the default culture

CreateLocalizedCopy(workingTab, defaultLocale, false);
CreateLocalizedCopyInternal(workingTab, defaultLocale, false, true);
}

if (currentTab.DefaultLanguageTab != null)
Expand All @@ -918,7 +918,7 @@ public void AddMissingLanguages(int portalId, int tabId)
}
if (missing)
{
CreateLocalizedCopy(workingTab, locale, false);
CreateLocalizedCopyInternal(workingTab, locale, false, true);
}
}
}
Expand Down

0 comments on commit 9afe07c

Please sign in to comment.