fun canModify (poll : poll) =
Group.inGroupName "poll"
- orelse (#usr poll = Init.getUserId()
- andalso (dateLtNow (#starts poll)
- orelse not (#ready poll)))
+ orelse ((#usr poll = Init.getUserId()
+ andalso (dateLtNow (#starts poll)
+ orelse not (#ready poll))))
fun requireCanModify poll =
if canModify poll then