shish/shimmie2 — Issue #50: Corrupted link in numeric_score
Author: XievenLonger
Created: 2011-11-02 23:17:06+00:00
State: open

ext\numeric_score\main.php class NumericScore
Line 35

``` ruby
35	if($event instanceof DisplayingImageEvent) {
36	if(!$user->is_anonymous()) {
37	$html = $this->theme->get_voter_html($event->image);
38	if($user->is_admin()) {
39	$html .= "

See All Votes";
40	}
41	$page->add_block(new Block("Image Score", $html, "left", 20));
42	}
43	}
```

The generated link in line 39 should be generated via make_link. Also, this line should be put in the theme.php, so it could be altered within a custom theme.