Merge pull request #1302 from leigh-pointer/AddPageWarning

Check now displays warning instead of an Error
This commit is contained in:
Shaun Walker
2021-04-30 07:32:12 -04:00
committed by GitHub

View File

@ -288,7 +288,7 @@
Page page = null; Page page = null;
try try
{ {
if (_name != string.Empty && !string.IsNullOrEmpty(_themetype) && _containertype != "-") if (!string.IsNullOrEmpty(_name) && !string.IsNullOrEmpty(_themetype) && _containertype != "-")
{ {
page = new Page(); page = new Page();
page.SiteId = PageState.Page.SiteId; page.SiteId = PageState.Page.SiteId;