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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.0.8
    • Posting
    • None

      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.

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

              Created:
              Updated:
              Resolved: