Fix if statement that used to always evaluate to true, preventing slug from being changed
How Has This Been Tested?
Tried to change a staff member's slug both to one that I know is taken and one that is not. Now functions as it should.
Screenshots (if appropriate):
Checklist:
[x] My code follows the code style of this project. (see the style guide)
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] Coveralls reported increased code coverage, and full coverage for all the code I added / changed (or I have a good reason that I explained above for why this is not the case)
Coverage remained the same at 6.961% when pulling b68b228fb99022762d82385cf74f912a2a1e87c6 on change-author-slug into a856f767aebc18a5d90a449c5b638fabb243b1dc on master.
Related Issue
442
Description
Fix if statement that used to always evaluate to true, preventing slug from being changed
How Has This Been Tested?
Tried to change a staff member's slug both to one that I know is taken and one that is not. Now functions as it should.
Screenshots (if appropriate):
Checklist: