This commit is contained in:
Shish 2012-03-31 13:19:11 +01:00
parent 567755a185
commit b17d8b2244

View File

@ -38,7 +38,7 @@ class NumericScore extends Extension {
public function onUserPageBuilding(UserPageBuildingEvent $event) { public function onUserPageBuilding(UserPageBuildingEvent $event) {
global $page, $user; global $page, $user;
if($user->can("edit_other_votes")) { if($user->can("edit_other_vote")) {
$html = $this->theme->get_nuller_html($event->display_user); $html = $this->theme->get_nuller_html($event->display_user);
$page->add_block(new Block("Votes", $html, "main", 60)); $page->add_block(new Block("Votes", $html, "main", 60));
} }