fix downvote link typo

This commit is contained in:
Shish 2023-12-24 13:46:59 +00:00
parent 6212566aea
commit 8b31fea14e

View file

@ -122,7 +122,7 @@ class NumericScore extends Extension
$n_up = Search::count_images(["upvoted_by={$event->display_user->name}"]);
$link_up = search_link(["upvoted_by={$event->display_user->name}"]);
$n_down = Search::count_images(["downvoted_by={$event->display_user->name}"]);
$link_down = search_link(["downvoted_by={$event->display_user->name}]"]);
$link_down = search_link(["downvoted_by={$event->display_user->name}"]);
$event->add_stats("<a href='$link_up'>$n_up Upvotes</a> / <a href='$link_down'>$n_down Downvotes</a>");
}