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

Useless parameter $data['post_time'] in function submit_post.

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.7-PL1
    • Fix Version/s: 3.0.8-RC1
    • Component/s: Posting
    • Labels:
      None

      Description

      In submit_post $data['post_time'] is used to mark the forum read (line 2540) but when inserting into the db, $current_time (time()) is used.

      Either $data['post_time'] should be removed or better yet support setting the post time using $data['post_time'] instead of forcing time()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nickvergessen Joas Schilling
                Reporter:
                EXreaction EXreaction [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: