Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11862

Events core.delete_user_before and core.delete_user_after compact the wrong vars

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: Events
    • Labels:
      None

      Description

      For both core.delete_user_before and core.delete_user_after (file includes/functions_user.php), the following vars are compacted:

      $vars = array('mode', 'user_id', 'post_username');

      However, $user_id and $post_username do not exist in both of the contexts. This makes the events unusable.

        Attachments

          Activity

            People

            • Assignee:
              nickvergessen Joas Schilling
              Reporter:
              rechosen rechosen [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: