Undefined index "allow_pm" when user has no a_ or m_ permissions

Fix #80
Merge branch 'issue/80' into develop-ascraeus