forked from GithubBackups/vichan
Merge pull request #584 from vichan-devel/RealAngeleno-patch-4
add missing break in switch/case for dismiss post
This commit is contained in:
commit
744b025137
@ -2424,6 +2424,7 @@ function mod_report_dismiss($id, $action) {
|
|||||||
$query = prepare("DELETE FROM ``reports`` WHERE `post` = :post");
|
$query = prepare("DELETE FROM ``reports`` WHERE `post` = :post");
|
||||||
$query->bindValue(':post', $post);
|
$query->bindValue(':post', $post);
|
||||||
modLog("Dismissed all reports for post #{$id}", $board);
|
modLog("Dismissed all reports for post #{$id}", $board);
|
||||||
|
break;
|
||||||
case '&all':
|
case '&all':
|
||||||
if (!hasPermission($config['mod']['report_dismiss_ip'], $board))
|
if (!hasPermission($config['mod']['report_dismiss_ip'], $board))
|
||||||
error($config['error']['noaccess']);
|
error($config['error']['noaccess']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user