diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2018-01-22 16:36:12 +0100 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2018-01-22 16:36:12 +0100 |
commit | 3c5b3254d151c052070aa1e5ef2efef7d850f95b (patch) | |
tree | 4d54335da3549f9eda65cb21d38a7f55add8917f /phpBB | |
parent | 531d9dfa1f0dddfe765a92ca40c77015091ecc5e (diff) | |
download | forums-3c5b3254d151c052070aa1e5ef2efef7d850f95b.tar forums-3c5b3254d151c052070aa1e5ef2efef7d850f95b.tar.gz forums-3c5b3254d151c052070aa1e5ef2efef7d850f95b.tar.bz2 forums-3c5b3254d151c052070aa1e5ef2efef7d850f95b.tar.xz forums-3c5b3254d151c052070aa1e5ef2efef7d850f95b.zip |
[ticket/15531] Workaround for false-positive sniff
PHPBB3-15531
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/textformatter/s9e/factory.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/factory.php b/phpBB/phpbb/textformatter/s9e/factory.php index 2b11a79192..c0bbc7b0e8 100644 --- a/phpBB/phpbb/textformatter/s9e/factory.php +++ b/phpBB/phpbb/textformatter/s9e/factory.php @@ -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()]); } |