mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-03 21:15:42 +02:00
[ticket/16361] Invalidate text formatter when server settings change
PHPBB3-16361
This commit is contained in:
parent
b1eaaea89a
commit
d836677342
@ -549,8 +549,8 @@ class acp_board
|
||||
}
|
||||
}
|
||||
|
||||
// Invalidate the text_formatter cache when posting options are changed
|
||||
if ($mode == 'post' && $submit)
|
||||
// Invalidate the text_formatter cache when posting or server options are changed
|
||||
if (preg_match('(^(?:post|server)$)', $mode) && $submit)
|
||||
{
|
||||
$phpbb_container->get('text_formatter.cache')->invalidate();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user