From c77543f5fb356944931e168d977a14257b293856 Mon Sep 17 00:00:00 2001 From: itismadness Date: Wed, 7 Feb 2018 13:29:49 -1000 Subject: [PATCH] Added scores next to voting on artists page Squashed commit of the following: Author: glitch added scores next to voting on artists page --- classes/votes.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/classes/votes.class.php b/classes/votes.class.php index ff6698c86..b0d711514 100644 --- a/classes/votes.class.php +++ b/classes/votes.class.php @@ -12,7 +12,8 @@ class Votes { * @param $Vote The pre-existing vote, if it exists 'Up'|'Down' */ public static function vote_link($GroupID, $Vote = '') { - if (!G::$LoggedUser['NoVoteLinks'] && check_perms('site_album_votes')) { ?> + if (!G::$LoggedUser['NoVoteLinks'] && check_perms('site_album_votes')) { + $GroupVotes = self::get_group_votes($GroupID); ?> Vote: @@ -20,6 +21,7 @@ public static function vote_link($GroupID, $Vote = '') { x + Score: