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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3.11
    • 3.3.10
    • Search
    • None
    • phpBB 3.3.10
      PHP 8.1, PHP 8.2

      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

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

              Created:
              Updated:
              Resolved: