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

submit_post doesn't use $data["post_time"]

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0.8
    • Fix Version/s: None
    • Component/s: Posting
    • Labels:
      None

      Description

      While $data["post_time"] is listed as an option for submit_post, it is not used to set the time a post was made.

      A minor change at functions_posting.php at line 1638 fixes this:

      if ($data["post_time"] != 0)

      { $current_time = $data["post_time"]; }

      else

      { $current_time = time(); }

      Though the variable should probably be named something other than $current_time throughout submit_post.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: