Fix calendar behavior in a particular case
(event modify in a board with no post perms,
thanks Ema!)

Signed-off-by: Norv <a.w.norv@gmail.com>
 A function has changed and there was an error

Signed-off-by: emanuele <emanuele45@gmail.com>
Fixes some undefined errors here and there while editing messages

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #416 from norv/fixes

Fixes