From e3a6f3d3fc4558e2b31fbadf5bd3e229555d5620 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 10 Aug 2024 21:09:32 +0200 Subject: [PATCH] [ticket/17379] Use correct number of predefined BBCodes in posting editor PHPBB-17379 --- phpBB/adm/style/acp_posting_buttons.html | 2 +- phpBB/includes/constants.php | 2 +- phpBB/styles/prosilver/template/posting_buttons.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/adm/style/acp_posting_buttons.html b/phpBB/adm/style/acp_posting_buttons.html index e5f96b0c223..c0c5aacd747 100644 --- a/phpBB/adm/style/acp_posting_buttons.html +++ b/phpBB/adm/style/acp_posting_buttons.html @@ -28,7 +28,7 @@ - diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index f560dbfbcb8..3304194cf42 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -174,7 +174,7 @@ // Number of core BBCodes define('NUM_CORE_BBCODES', 12); -define('NUM_PREDEFINED_BBCODES', 22); +define('NUM_PREDEFINED_BBCODES', 20); // BBCode IDs define('BBCODE_ID_QUOTE', 0); diff --git a/phpBB/styles/prosilver/template/posting_buttons.html b/phpBB/styles/prosilver/template/posting_buttons.html index 096dbbe8fac..ee98cb57ce8 100644 --- a/phpBB/styles/prosilver/template/posting_buttons.html +++ b/phpBB/styles/prosilver/template/posting_buttons.html @@ -81,7 +81,7 @@ -