mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/extension-manager] Skip phpbb_search_base by checking for get_name()
PHPBB3-10323
This commit is contained in:
parent
956860c21d
commit
989bd9cde7
1 changed files with 1 additions and 1 deletions
|
@ -623,7 +623,7 @@ class acp_search
|
|||
{
|
||||
global $phpbb_root_path, $phpEx, $user;
|
||||
|
||||
if (!class_exists($type))
|
||||
if (!class_exists($type) || !method_exists($type, 'get_name'))
|
||||
{
|
||||
$error = $user->lang['NO_SUCH_SEARCH_MODULE'];
|
||||
return $error;
|
||||
|
|
Loading…
Add table
Reference in a new issue