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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • 3.0.8
    • None
    • Posting
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: