aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2018-01-22 16:36:12 +0100
committerJoshyPHP <s9e.dev@gmail.com>2018-01-22 16:36:12 +0100
commit3c5b3254d151c052070aa1e5ef2efef7d850f95b (patch)
tree4d54335da3549f9eda65cb21d38a7f55add8917f /phpBB
parent531d9dfa1f0dddfe765a92ca40c77015091ecc5e (diff)
downloadforums-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.php3
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()]);
}