Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-8817 now.

Searching moderator logs with ( or ) causes a notice (fix completed in vcs)

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

Code: Select all
[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

Code: Select all
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)#"

Comments / History

Edited ticket

Action performed by wGEric (Former Team Member) on Oct 27th 2009, 22:44

Posted by Erik Frèrejean (Support Team Member) on Oct 27th 2009, 22:54

somewhere missed the "logs" part :$

Edited post #193775

Action performed by Erik Frèrejean (Support Team Member) on Oct 27th 2009, 23:10

Changed ticket status from "New" to "Reviewed"

Action performed by Acyd Burn (Server Manager) on Oct 28th 2009, 14:50

Changed ticket severity from "Uncategorised/normal" to "Severe"

Action performed by Acyd Burn (Server Manager) on Oct 28th 2009, 14:50

Posted by DavidIQ (MOD Team Leader) on Oct 28th 2009, 14:57

Also happens when using an asterisk.

i.e. foo*

Edited post #193865

Action performed by DavidIQ (MOD Team Leader) on Oct 28th 2009, 14:58

Linked ticket with changeset: r10240

Action performed by Acyd Burn (Server Manager) on Oct 28th 2009, 15:10

Changed ticket status from "Reviewed" to "Fix completed in SVN"

Action performed by Acyd Burn (Server Manager) on Oct 28th 2009, 15:11

Ticket details

Related SVN changesets