From da95a27d3c8bef2c1cfd20b72116f9508becf504 Mon Sep 17 00:00:00 2001 From: phpBB TR <166284197+phpbbtr@users.noreply.github.com> Date: Sat, 11 May 2024 18:47:18 +0300 Subject: [PATCH] Forum adding error fix [phpBB Debug] PHP Warning: in file [ROOT]/ext/toxyy/anonymousposts/event/acp_functions.php on line 53: Undefined array key "anp_post_force" --- event/acp_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event/acp_functions.php b/event/acp_functions.php index 24b3c08..9e6d687 100644 --- a/event/acp_functions.php +++ b/event/acp_functions.php @@ -58,7 +58,7 @@ public function acp_manage_forums_initialise_data($event) { if ($event['action'] == 'add') { - $event->update_subarray('forum_data', 'anp_ignore_post_permissions', false); + $event->update_subarray('forum_data', 'anp_post_force', false); $event->update_subarray('forum_data', 'anp_ignore_post_permissions', false); } }