Skip to content

Commit

Permalink
LPS-107328 Layouts can come from page templates, so check that too
Browse files Browse the repository at this point in the history
  • Loading branch information
jkappler committed Jan 20, 2020
1 parent fd8ffae commit 32cdbbd
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -345,7 +345,9 @@ protected Event serializeEvent(

private boolean _isPublishedContentPage(Layout layout) {
if (Objects.equals(layout.getType(), LayoutConstants.TYPE_CONTENT) &&
(layout.getClassNameId() == 0)) {
((layout.getClassNameId() == 0) ||
(PortalUtil.getClassNameId(Layout.class.getName()) !=
layout.getClassNameId()))) {

return true;
}
Expand Down

0 comments on commit 32cdbbd

Please sign in to comment.