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

Undefined $mode property in bbcode_firstpass class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3.0
    • 3.3.0-RC1
    • BBCode Engine, Posting
    • None

      Here https://github.com/phpbb/phpbb/blob/3.3.x/phpBB/includes/message_parser.php#L307 and in several more places of the class bbcode_firstpass the code refers $this->mode which is defined in child parse_message class but not in the parent bbcode_firstpass class.

      Also it causes PHP 8.0.0 tests to fail here https://travis-ci.org/phpbb/phpbb/jobs/630024692#L650

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

              Created:
              Updated:
              Resolved: