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

Avoid reparsing non-existent polls

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.3.0-a1, 3.2.3-RC1
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: