mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +01:00
add missing break in switch/case for dismiss post
fixes bug in which Dismiss Post worked identically to Dismiss+
This commit is contained in:
parent
07f998f9eb
commit
691ce02cbd
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user