Check now displays warning instead of an Error

This commit is contained in:
Leigh 2021-04-30 09:49:51 +02:00
parent 9037f49680
commit c36cd77ab4

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;