svn: /web/php/trunk/releases/ index.php
| From: | Philip Olson | Date: | Thu, 03 Jun 2010 02:53:24 +0000 |
| Subject: | svn: /web/php/trunk/releases/ index.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-8299@lists.php.net to get a copy of this message | ||
philip Thu, 03 Jun 2010 02:53:24 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300136
Log:
Fixed PHP Bug #51966 - Show all release info - Patch by David Tajchreber (dtajchreber)
Bug: http://bugs.php.net/51966 (Open) Serialized release
information not updated
Changed paths:
U web/php/trunk/releases/index.php
Modified: web/php/trunk/releases/index.php
===================================================================
--- web/php/trunk/releases/index.php 2010-06-03 01:39:41 UTC (rev 300135)
+++ web/php/trunk/releases/index.php 2010-06-03 02:53:24 UTC (rev 300136)
@@ -22,6 +22,14 @@
$return = array($version => $r);
$count = 1;
+
+ /* 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;
+ }
+
foreach($OLDRELEASES[$ver] as $version => $release) {
if ($max <= $count++) {
break;