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

PHP warning with native search backend if query ends with a space followed by hyphen

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.3.10
    • 3.3.11
    • Search
    • None
    • phpBB 3.3.10
      PHP 8.1, PHP 8.2

    Description

      With the native search backend, if query ends with a space followed by hyphen (like "barsearch -") search triggers PHP warning:

      [phpBB Debug] PHP Warning: in file [ROOT]/phpbb/search/fulltext_native.php on line 396Uninitialized string offset 0

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: