com web/php: Fix the changelog links.: index.php
| From: | Adam Harvey | Date: | Thu, 03 Dec 2015 21:08:47 +0000 |
| Subject: | com web/php: Fix the changelog links.: index.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-24341@lists.php.net to get a copy of this message | ||
Commit: f5b80dc59a9e8c6e17eda0fe0cf19286d7a1a6f4
Author: Adam Harvey <aharvey@php.net> Thu, 3 Dec 2015 13:08:47 -0800
Parents: e76a1c72ad19000de0ce777af4aeb903154f2853
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=f5b80dc59a9e8c6e17eda0fe0cf19286d7a1a6f4
Log:
Fix the changelog links.
Changed paths:
M index.php
Diff:
diff --git a/index.php b/index.php
index 4013d0d..2be4b58 100644
--- a/index.php
+++ b/index.php
@@ -101,7 +101,7 @@ foreach (get_active_branches() as $major => $releases) {
foreach ($releases as $release) {
$version = $release['version'];
$intro .= "
- <li><a class='download-link'
href='/downloads.php#v$version'>$version</a><span
class='dot'>·</span><a class='notes'
href='/ChangeLog-5.php#$version'>Release Notes</a></li>\n";
+ <li><a class='download-link'
href='/downloads.php#v$version'>$version</a><span
class='dot'>·</span><a class='notes'
href='/ChangeLog-$major.php#$version'>Release Notes</a></li>\n";
}
}
$intro .= <<<EOF