1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

Merge branch '3.3.x'

This commit is contained in:
Marc Alexander
2020-04-16 20:49:27 +02:00
3 changed files with 13 additions and 3 deletions

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