svn: /web/php-windows/trunk/docroot/ listing.php
| From: | Kalle Sommer Nielsen | Date: | Thu, 20 Jan 2011 15:37:54 +0000 |
| Subject: | svn: /web/php-windows/trunk/docroot/ listing.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-10457@lists.php.net to get a copy of this message | ||
kalle Thu, 20 Jan 2011 15:37:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=307628
Log:
Do not show packages in the dropdown like x64 thats not currently available
Changed paths:
U web/php-windows/trunk/docroot/listing.php
Modified: web/php-windows/trunk/docroot/listing.php
===================================================================
--- web/php-windows/trunk/docroot/listing.php 2011-01-20 15:34:17 UTC (rev 307627)
+++ web/php-windows/trunk/docroot/listing.php 2011-01-20 15:37:54 UTC (rev 307628)
@@ -69,7 +69,7 @@
<option value="top"
selected="true">Select an option to direct access...</option>
<?php foreach ($major_order as $major) {?>
<optgroup label="php-<?php echo '-' . $major; ?>">
-<?php foreach ($minor_order[$major] as $minor) { if (!isset($versions[$major])) continue; ?>
+<?php foreach ($minor_order[$major] as $minor) { if (!isset($versions[$major]) ||
!isset($versions[$major][$minor])) continue; ?>
<option value="php-<?php echo $major . '-' . $minor; ?>"><?php
echo $labels[$minor]; ?></option>
<?php } ?>
</optgroup>