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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 3.0.8-RC1
    • 3.0.7-PL1
    • Posting
    • None

      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()

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

              Created:
              Updated:
              Resolved: