Skip to content

Commit

Permalink
SF.net URLs go straight to the version to download
Browse files Browse the repository at this point in the history
Previously, they were pointing to the "main" sourceforge download
directory (i.e. 'stable' or 'development').
  • Loading branch information
dregad committed Dec 26, 2018
1 parent dae7b18 commit 7f5ba7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions download.php
Expand Up @@ -55,7 +55,7 @@ function print_sourceforge_url( $p_version = null, $p_stable = true ) {
MantisBT <?php echo $g_latest_version_stable; ?></h2>
<br>
<p>
<a href="<?php print_sourceforge_url(); ?>"
<a href="<?php print_sourceforge_url( $g_latest_version_stable ); ?>"
onclick="ga('send', 'event', 'Download', 'Download');"
type="button" class="ex btn btn-default btn-inverse">
Download
Expand Down Expand Up @@ -99,7 +99,7 @@ function print_sourceforge_url( $p_version = null, $p_stable = true ) {
</ul>
</div>
<div class="col-sm-4 col-md-4">
<a href="<?php print_sourceforge_url( null, false ); ?>"
<a href="<?php print_sourceforge_url( $g_latest_version_dev, false ); ?>"
onclick="ga('send', 'event', 'Download', 'Download MantisBT');"
type="button" class="btn btn-default btn-warning">
Download MantisBT <?php echo $g_latest_version_dev; ?>
Expand Down

0 comments on commit 7f5ba7d

Please sign in to comment.