Browse Source

Account for prepared statements changing types

spaghetti 7 years ago
parent
commit
63b8973825
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      sections/user/user.php

+ 2
- 2
sections/user/user.php View File

@@ -67,7 +67,7 @@ if (check_perms('users_mod')) { // Person viewing is a staff member
67 67
       i.DisablePoints,
68 68
       i.DisablePromotion,
69 69
       i.DisableIRC,
70
-      i.DisableRequests," . "
70
+      i.DisableRequests,
71 71
       m.FLTokens,
72 72
       SHA1(i.AdminComment),
73 73
       i.InfoTitle,
@@ -1102,7 +1102,7 @@ if (check_perms('users_mod', $Class)) { ?>
1102 1102
       if ($CurClass['Secondary']) {
1103 1103
         continue;
1104 1104
       }
1105
-      if ($Class === $CurClass['Level']) {
1105
+      if ($Class == $CurClass['Level']) {
1106 1106
         $Selected = ' selected="selected"';
1107 1107
       } else {
1108 1108
         $Selected = '';

Loading…
Cancel
Save