Use the correct variable for the add-on name

This commit is contained in:
Alexander van Gessel 2011-12-26 04:46:53 +01:00
parent 9f67d78975
commit 7c69568ce6

View file

@ -210,7 +210,7 @@ foreach($stats as $stat){
if($official == 0){
echo "<strong><a href='http://svn.gna.org/viewcvs/*checkout*/wesnoth/$repo/po/" . $stat[4]. "/" . $lang . ".po'>" . $stat[4] . "</a></strong>";
}else{
$packname = getpackage($package);
$packname = getpackage($stat[4]);
$reponame = "$packname-$branch";
echo "<strong><a href='https://raw.github.com/wescamp/$reponame/master/po/$lang.po'>" . $stat[4] ."</a></strong>";
}