aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/config/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/config/config.php')
-rw-r--r--phpBB/phpbb/config/config.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/phpbb/config/config.php b/phpBB/phpbb/config/config.php
index 036ae32cef..239e4c2e55 100644
--- a/phpBB/phpbb/config/config.php
+++ b/phpBB/phpbb/config/config.php
@@ -163,7 +163,9 @@ class config implements \ArrayAccess, \IteratorAggregate, \Countable
if(isset($this->config[$key]) && $this->config[$key] == $new_value)
{
return true;
- } else {
+ }
+ else
+ {
throw new \phpbb\exception\http_exception(500, 'Failure while aqcuiring locks.');
}
}