mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-02-02 13:07:34 +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,6 +275,7 @@ Unlike previous ShiftOS site revamps, your account got migrated over. However, t
|
||||||
higherUp = r as Role;
|
higherUp = r as Role;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(higherUp != null)
|
||||||
higherUp.Priority--;
|
higherUp.Priority--;
|
||||||
role.Priority++;
|
role.Priority++;
|
||||||
db.SaveChanges();
|
db.SaveChanges();
|
||||||
|
|
Loading…
Add table
Reference in a new issue