add missing properties to Clone method

This commit is contained in:
sbwalker
2024-07-17 11:34:01 -04:00
parent e9f6a85cad
commit 5610a14e49
2 changed files with 10 additions and 3 deletions

View File

@ -80,11 +80,14 @@
}
else
{
foreach (Page p in _pages)
if (_pages != null)
{
if (UserSecurity.IsAuthorized(PageState.User, PermissionNames.Edit, p.PermissionList))
foreach (Page p in _pages)
{
<option value="@p.PageId">@(new string('-', p.Level * 2))@(p.Name)</option>
if (UserSecurity.IsAuthorized(PageState.User, PermissionNames.Edit, p.PermissionList))
{
<option value="@p.PageId">@(new string('-', p.Level * 2))@(p.Name)</option>
}
}
}
}