From bb7e385e32ebabc18bd79f6e04af84381d9234e5 Mon Sep 17 00:00:00 2001 From: RealAngeleno Date: Thu, 22 Jun 2023 04:49:22 -0700 Subject: [PATCH] add missing break in switch/case for dismiss post fixes bug in which Dismiss Post worked identically to Dismiss+ --- inc/mod/pages.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index a2713ab5..2eba373e 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -3233,6 +3233,7 @@ function mod_report_dismiss($id, $action) { $query = prepare("DELETE FROM ``reports`` WHERE `post` = :post"); $query->bindValue(':post', $post); modLog("Dismissed all reports for post #{$id}", $board); + break; case '&all': if (!hasPermission($config['mod']['report_dismiss_ip'], $board)) error($config['error']['noaccess']);