Merge pull request #285 from kenshiros/fixvoteslistlinks

fix numeric_score to use make_link for user profile links
This commit is contained in:
Shish 2013-04-07 05:33:51 -07:00
commit 8d77d251a5

View File

@ -58,7 +58,7 @@ class NumericScore extends Extension {
$html = "<table>"; $html = "<table>";
foreach($x as $vote) { foreach($x as $vote) {
$html .= "<tr><td>"; $html .= "<tr><td>";
$html .= "<a href='/user/{$vote['username']}'>{$vote['username']}</a>"; $html .= "<a href='".make_link("user/{$vote['username']}")."'>{$vote['username']}</a>";
$html .= "</td><td>"; $html .= "</td><td>";
$html .= $vote['score']; $html .= $vote['score'];
$html .= "</td></tr>"; $html .= "</td></tr>";