From 691ce02cbd755c72cf15fd000a78c705e500153f 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 d4054f3e..d3cfba39 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -2424,6 +2424,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']);