Fix logic error WRT models builder flag out of date models. (#12548)
(cherry picked from commit 6b0149803a879d1c6902a5f61d1f2e9dc8545aac)
This commit is contained in:
@@ -44,7 +44,7 @@ namespace Umbraco.Cms.Core.Configuration.Models
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!ModelsMode.IsAuto())
|
||||
if (ModelsMode == ModelsMode.Nothing || ModelsMode.IsAuto())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user