From b17d8b2244f83f47d43d4e987d37c5526e8838cc Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 31 Mar 2012 13:19:11 +0100 Subject: [PATCH] typo --- contrib/numeric_score/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/numeric_score/main.php b/contrib/numeric_score/main.php index 98aaf45d..9cd0efb6 100644 --- a/contrib/numeric_score/main.php +++ b/contrib/numeric_score/main.php @@ -38,7 +38,7 @@ class NumericScore extends Extension { public function onUserPageBuilding(UserPageBuildingEvent $event) { global $page, $user; - if($user->can("edit_other_votes")) { + if($user->can("edit_other_vote")) { $html = $this->theme->get_nuller_html($event->display_user); $page->add_block(new Block("Votes", $html, "main", 60)); }