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

Avoid reparsing non-existent polls

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 3.2.2
    • 4.0.0-a1, 3.2.3-RC1
    • None
    • None

    Description

      The current poll_title reparser uses poll_max_options > 0 to determine whether a topic has a poll. However, this value does not reliably determine whether a poll exists as new topics have poll_max_options = 1 and only topics whose poll has been deleted have poll_max_options = 0.

      It should use poll_start > 0 instead.

      The issue is marked as trivial as it makes no functional difference whether empty poll titles are reparsed or not.

      Attachments

        Activity

          People

            Marc Marc
            JoshyPHP JoshyPHP
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: