Skip to content
Snippets Groups Projects
Commit a995dc3d authored by hg's avatar hg
Browse files

OO-1358: wotk with the right list of entries and the right state

parent fbcff264
No related branches found
No related tags found
No related merge requests found
......@@ -173,8 +173,8 @@ public class UserInfoMainController extends MainLayoutBasicController implements
Controller controller = createComponent(ureq, type);
if(controller != null) {
if(controller instanceof Activateable2) {
entries = entries.subList(1, entries.size());
((Activateable2)controller).activate(ureq, entries, entries.get(0).getTransientState());
List<ContextEntry> subEntries = entries.subList(1, entries.size());
((Activateable2)controller).activate(ureq, subEntries, entries.get(0).getTransientState());
}
main.setContent(controller.getInitialComponent());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment