mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11871] Allow backslash in classnames for Modules
PHPBB3-11871
This commit is contained in:
@@ -565,7 +565,7 @@ class acp_modules
|
||||
{
|
||||
// Skip entries we do not need if we know the module we are
|
||||
// looking for
|
||||
if ($module && strpos(str_replace('\\', '_', $cur_module), $module) === false)
|
||||
if ($module && strpos(str_replace('\\', '_', $cur_module), $module) === false && $module !== $cur_module)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user