Installer fixes

This commit is contained in:
Nabeel Shahzad
2018-02-12 09:47:12 -06:00
parent ecfda6de15
commit c817d1ae4b
5 changed files with 29 additions and 8 deletions

View File

@@ -151,7 +151,7 @@ class UserService extends BaseService
# If their current rank is one they were assigned, then
# don't change away from it automatically.
if($user->rank->auto_promote === false) {
if($user->rank && $user->rank->auto_promote === false) {
return $user;
}