Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-11862

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-a1
    • 3.1.0-dev
    • Events
    • None

      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.

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

              Created:
              Updated:
              Resolved: