Merge pull request #1302 from leigh-pointer/AddPageWarning
Check now displays warning instead of an Error
This commit is contained in:
commit
c02e83547b
@ -288,7 +288,7 @@
|
||||
Page page = null;
|
||||
try
|
||||
{
|
||||
if (_name != string.Empty && !string.IsNullOrEmpty(_themetype) && _containertype != "-")
|
||||
if (!string.IsNullOrEmpty(_name) && !string.IsNullOrEmpty(_themetype) && _containertype != "-")
|
||||
{
|
||||
page = new Page();
|
||||
page.SiteId = PageState.Page.SiteId;
|
||||
|
Loading…
x
Reference in New Issue
Block a user