mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-02-02 04:57:35 +00:00
fix bug with raising of role priorities
This commit is contained in:
parent
cd9437be6d
commit
4d4a59bc15
1 changed files with 2 additions and 1 deletions
|
@ -275,7 +275,8 @@ Unlike previous ShiftOS site revamps, your account got migrated over. However, t
|
|||
higherUp = r as Role;
|
||||
}
|
||||
|
||||
higherUp.Priority--;
|
||||
if(higherUp != null)
|
||||
higherUp.Priority--;
|
||||
role.Priority++;
|
||||
db.SaveChanges();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue