1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-17 11:28:41 +01:00

Merge pull request #584 from vichan-devel/RealAngeleno-patch-4

add missing break in switch/case for dismiss post
This commit is contained in:
RealAngeleno 2023-06-22 04:50:31 -07:00 committed by GitHub
commit 744b025137
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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']);