missing else condition added
Merge branch 'master' of github.com:arkhitech/redmine_leaves