Author: Christoph M. Becker (cmb69) Date: 2022-02-17T16:47:34+01:00 Commit: https://github.com/php/web-php/commit/63aa8c72af6655ce8f9d26801f43815495da1edd Raw diff: https://github.com/php/web-php/commit/63aa8c72af6655ce8f9d26801f43815495da1edd.diff
There are no current releases of previous majors right now Changed paths: M downloads.php Diff: diff --git a/downloads.php b/downloads.php index ff23d5ee5..71c38b1fc 100644 --- a/downloads.php +++ b/downloads.php @@ -39,11 +39,11 @@ ) ); ?> -<?php foreach ($RELEASES as $MAJOR => $major_releases): /* major releases loop start */ +<?php $i = 0; foreach ($RELEASES as $MAJOR => $major_releases): /* major releases loop start */ $releases = array_slice($major_releases, 0, $SHOW_COUNT); ?> <a id="v<?php echo $MAJOR; ?>"></a> -<?php $i = 0; foreach ($releases as $v => $a): ?> +<?php foreach ($releases as $v => $a): ?> <?php $mver = substr($v, 0, strrpos($v, '.')); ?> <?php $stable = $i++ === 0 ? "Current Stable" : "Old Stable"; ?> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php