Commit:    9e24d21c09f9483efde80dc7ebfdeb32fd803b00
Author:    Christoph M. Becker <[email protected]>         Wed, 2 Oct 2019 
23:51:33 +0200
Parents:   610654abb17e7f74eaf5ce7af2dca222ecfce27b
Branches:  master

Link:       
http://git.php.net/?p=web/windows.git;a=commitdiff;h=9e24d21c09f9483efde80dc7ebfdeb32fd803b00

Log:
Fix expected $mode

/download/ is actually redirected to /listing.php?mode=release, so we
use this for now – should clean that up sometime...

Changed paths:
  M  docroot/listing.php


Diff:
diff --git a/docroot/listing.php b/docroot/listing.php
index 75f2413..23bdbc0 100644
--- a/docroot/listing.php
+++ b/docroot/listing.php
@@ -117,7 +117,7 @@ include TPL_PATH . 'left_column.php';
 <?php } ?>
 
                                     </select>
-<?php if ($mode == 'releases'):?>
+<?php if ($mode == 'release'):?>
                                     <br><br><a 
href="https://windows.php.net/downloads/releases/archives/";>Past releases</a>
 <?php endif?>
                                 </div><!-- .info -->


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to