Merge branch 'hendrik-testing' into 'master'

fixsquared

See merge request !163
This commit was merged in pull request #167.
This commit is contained in:
Lars van Hijfte
2017-01-31 16:23:41 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ while($user = $q->fetch(PDO::FETCH_ASSOC)) {
<option value='banned'>Ban</option>
<option value='user'>Activeer</option>";
if ($userinfo['role'] == 'owner') {
if ($userinfo == 'owner') {
echo "<option value='admin'>Admin</option>
<option value='owner'>Owner</option>";
}