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

Searching moderator logs with ( or ) causes a notice

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.0.6
    • 3.0.x
    • None
    • PHP Environment:
      Database:

      When searching the moderator logs for anything that ends with ) or ( causes the following PHP notice to be shown multiple times:

      [phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2566: preg_match() [function.preg-match]: No ending delimiter '#' found

      Here are some of the search terms I've used to trigger the notice

      foo)
      foo(
      foo (bar)

      I found this on phpbb.com and other team members on IRC reproduced this bug on 3.0.6-RC3

      The notices don't show up if you add a # at the end so "foo(bar)#"

            Acyd Burn Meik Sievertsen [X] (Inactive)
            wGEric Eric Faerber [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: