svn: /web/php/trunk/releases/ index.php
| From: | Philip Olson | Date: | Sun, 17 Jul 2011 18:08:02 +0000 |
| Subject: | svn: /web/php/trunk/releases/ index.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-11680@lists.php.net to get a copy of this message | ||
philip Sun, 17 Jul 2011 18:08:02 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313335
Log:
Fixed bug where 5.2.17 wasn't showing up properly. Bug reported by Ferenc
Changed paths:
U web/php/trunk/releases/index.php
Modified: web/php/trunk/releases/index.php
===================================================================
--- web/php/trunk/releases/index.php 2011-07-17 17:55:33 UTC (rev 313334)
+++ web/php/trunk/releases/index.php 2011-07-17 18:08:02 UTC (rev 313335)
@@ -8,6 +8,7 @@
include_once $_SERVER["DOCUMENT_ROOT"] . "/include/version.inc";
$RELEASES[5][$PHP_5_3_VERSION]["date"] = $PHP_5_3_DATE;
+ $RELEASES[5][$PHP_5_2_VERSION]["date"] = $PHP_5_2_DATE;
$RELEASES = $RELEASES + $OLDRELEASES;
if (isset($_GET["version"])) {
@@ -27,8 +28,7 @@
/* check if other $RELEASES[$ver] are there */
/* e.g., 5_2, 5_3, and 5_4 all exist and have a release */
while(($z = each($RELEASES[$ver])) && $count++ < $max) {
- list($version, $r) = each($z);
- $return[$version] = $r;
+ $return[$z[0]] = $z[1];
}
foreach($OLDRELEASES[$ver] as $version => $release) {