Uploaded image for project: 'OpenCAD PHP'
  1. OpenCAD PHP
  2. OCPHP-383

Suspended user can't be re-activated

    XMLWordPrintable

    Details

      Description

      Expected Behavior

      When a user is suspended the admin/moderator should be presented with the option to "reactivate" the account.

      Current Behavior

      The account is suspended in the database the but interface does *not* reflect that is indeed suspended and the admin/moderator is not presented with the option to "reactivate" account.

      https://cdn.discordapp.com/attachments/482165651079954439/482165734793936896/bandicam_2018-08-23_05-32-11-488.mp4

      Solution

      Change:

      if ($row[4] == '2')
      

      to

      if ($row[5] == '2')
      

      so that it will reference the correct column.

        Attachments

          Activity

            People

            • Assignee:
              pfernandes Phill J. Fernandes
              Reporter:
              pfernandes Phill J. Fernandes
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: