1
0
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:
JoshyPHP 2020-02-12 01:26:12 +01:00
parent b1eaaea89a
commit d836677342

View File

@ -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();
}