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

Add draft_id variable to event core.posting_modify_template_vars

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.5
    • Fix Version/s: 3.1.6-RC1
    • Component/s: Events
    • Labels:
      None

      Description

      The draft_id is being sent through in the events 'core.modify_posting_parameters' and 'core.modify_posting_auth', however these are before the value of draft_id is actually checked (lines 784 and below in posting.php).

      For extensions it could be beneficial to also be able to receive the checked $draft_id. In particular, this would be the case for this extension:
      https://www.phpbb.com/community/viewtopic.php?t=2279486&view=unread#unread
      . My proposal would be to add it to the event core.posting_modify_template_vars

        Attachments

          Activity

            People

            • Assignee:
              Marc Marc
              Reporter:
              marcovo marcovo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: