| Issue 69: | Change User Permission | |
| Back to list |
What steps will reproduce the problem? 1. Go to Home 2. Click on Change User Permission Expected: Change User Permission Instead: Home Page. |
| Issue 69: | Change User Permission | |
| Back to list |
What steps will reproduce the problem? 1. Go to Home 2. Click on Change User Permission Expected: Change User Permission Instead: Home Page. |
Fixed it. Lines 9-11 of modifyuser.php: The following code redirected a logged in user back to the homepage. It's possible that what they were trying to do was redirect a user back to the home page if you are NOT logged in. But the next if statement checks user admin/permissions level, rendering this possible option redundant. if(($_SESSION['valid']) == "valid") { //if already logged in header( 'Location: ./home.php' ); //redirect to the homepage } Anyways, I commented it out.