Skip to content
Snippets Groups Projects
Commit 5675b8dd authored by srosse's avatar srosse
Browse files

OO-1569: use the identity of the controller

parent 9b7e86b8
No related branches found
No related tags found
No related merge requests found
......@@ -1240,7 +1240,7 @@ public class ForumController extends BasicController implements GenericEventList
numOfChildren = countNumOfChildren(m, threadMsgs);
Integer nOfCh = new Integer(numOfChildren);
map.put("nOfCh", nOfCh);
boolean userIsMsgCreator = ureq.getIdentity().getKey().equals(creator.getKey());
boolean userIsMsgCreator = getIdentity().getKey().equals(creator.getKey());
Boolean uIsMsgC = new Boolean(userIsMsgCreator);
map.put("uIsMsgC", uIsMsgC);
boolean isThreadtop = m.getThreadtop()==null;
......
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