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

Data sent to core.submit_post_end event does not include fresh post_visibility

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-RC5
    • Fix Version/s: 3.1.0-RC6
    • Component/s: Posting
    • Labels:
      None

      Description

      in includes/functions_posting, the $data array sent to the core.submit_post_end event does not contain up to date post_visibility as another variable is used ($post_visibility) to determine and process its value in submit_post() function.

      $data['post_visibility'] should thus be set to $post_visibility before the core.submit_post_end event is triggered.

        Attachments

          Activity

            People

            • Assignee:
              Marc Marc
              Reporter:
              dcz dcz [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: