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

Event parameters in posting do not affect behavior as expected

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.1.3
    • 3.1.6-RC1
    • Events
    • None

    Description

      In the events core.posting_modify_submit_post_before and core.posting_modify_submit_post_after, the parameter 'error' does not have any impact in further execution, and particularly it does not achieve what is specified in the docblock: "Any error strings; a non-empty array aborts form submission". Similarly, the parameter 'submit' is useless here as well, as both events are within an "if $submit", therefore this parameter will always be true, and changing it will not have further impact.
      Please, remove both parameters from these events.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: