PageService.java: In method "insertPage()", put new page in portal pages map as disabled (false) by default.
This commit is contained in:
parent
df34c2f3ca
commit
02169daeb7
|
@ -174,7 +174,7 @@ public class PageService {
|
|||
|
||||
for( Portal portal : portals ) {
|
||||
Map<String, Boolean> pages = portal.getPages();
|
||||
pages.put(page.getId(), true);
|
||||
pages.put(page.getId(), false);
|
||||
portal.setPages(pages);
|
||||
portalService.insertOrUpdatePortal(portal);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue