mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/16361] Invalidate text formatter when server settings change
PHPBB3-16361
This commit is contained in:
parent
b1eaaea89a
commit
d836677342
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue