From 73ec7be49125faebe870249d0c3c6d3555a7b361 Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 24 Feb 2024 16:30:56 +0000 Subject: [PATCH] [image_hash_ban] fix link --- ext/image_hash_ban/main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/image_hash_ban/main.php b/ext/image_hash_ban/main.php index 58ca1393..08c66a82 100644 --- a/ext/image_hash_ban/main.php +++ b/ext/image_hash_ban/main.php @@ -128,7 +128,7 @@ class ImageBan extends Extension global $user; if ($event->parent === "system") { if ($user->can(Permissions::BAN_IMAGE)) { - $event->add_nav_link("image_bans", new Link('image_hash_ban/list/1'), "Post Bans", NavLink::is_active(["image_hash_ban"])); + $event->add_nav_link("image_bans", new Link('image_hash_ban/list'), "Post Bans", NavLink::is_active(["image_hash_ban"])); } } } @@ -137,7 +137,7 @@ class ImageBan extends Extension { global $user; if ($user->can(Permissions::BAN_IMAGE)) { - $event->add_link("Post Bans", make_link("image_hash_ban/list/1")); + $event->add_link("Post Bans", make_link("image_hash_ban/list")); } }