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

Undefined $mode property in bbcode_firstpass class

    XMLWordPrintable

    Details

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: