mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-24 09:30:34 +01:00
[ticket/15531] Workaround for false-positive sniff
PHPBB3-15531
This commit is contained in:
parent
531d9dfa1f
commit
3c5b3254d1
@ -13,7 +13,6 @@
|
||||
|
||||
namespace phpbb\textformatter\s9e;
|
||||
|
||||
use Exception;
|
||||
use s9e\TextFormatter\Configurator;
|
||||
use s9e\TextFormatter\Configurator\Items\AttributeFilters\RegexpFilter;
|
||||
use s9e\TextFormatter\Configurator\Items\UnsafeTemplate;
|
||||
@ -430,7 +429,7 @@ class factory implements \phpbb\textformatter\cache_interface
|
||||
{
|
||||
$configurator->BBCodes->addCustom($usage, new UnsafeTemplate($template));
|
||||
}
|
||||
catch (Exception $e)
|
||||
catch (\Exception $e)
|
||||
{
|
||||
$this->log->add('critical', null, null, 'LOG_BBCODE_CONFIGURATION_ERROR', false, [$usage, $e->getMessage()]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user