Fix build hlint

This commit is contained in:
SJost 2019-02-20 23:57:51 +01:00
parent 4f26973206
commit 75e2210ae5

View File

@ -666,7 +666,7 @@ colUserComment tid ssh csh =
sortable (Just "course-user-note") (i18nCell MsgCourseUserNote)
$ \DBRow{ dbrOutput=(Entity uid _, _, mbNoteKey) } ->
maybeEmpty mbNoteKey $ const $
anchorCellM (encrypt uid >>= return . courseLink) (commentWidget True)
anchorCellM (courseLink <$> encrypt uid) (commentWidget True)
where
courseLink = CourseR tid ssh csh . CUserR