ypto >_<
This commit is contained in:
parent
7ab867cc79
commit
6691681a3d
2
contrib/report_image/main.php
Executable file → Normal file
2
contrib/report_image/main.php
Executable file → Normal file
@ -52,7 +52,7 @@ class ReportImage extends Extension {
|
||||
}
|
||||
else if($event->get_arg(0) == "remove") {
|
||||
if(isset($_POST['id'])) {
|
||||
if($user->can("view_image_reort")) {
|
||||
if($user->can("view_image_report")) {
|
||||
send_event(new RemoveReportedImageEvent($_POST['id']));
|
||||
$page->set_mode("redirect");
|
||||
$page->set_redirect(make_link("image_report/list"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user