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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.0-RC6
    • 3.1.0-RC5
    • Posting
    • None

      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.

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

              Created:
              Updated:
              Resolved: