Commit:    19fcb6e51cf3ce8cdcbe6f0a81b2573ddc46c2c2
Author:    Adam Harvey <[email protected]>         Tue, 19 Aug 2014 15:01:22 -0700
Parents:   f8c1f70afa3f6a91e1b6e71c863fe14ef05a3e60
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=19fcb6e51cf3ce8cdcbe6f0a81b2573ddc46c2c2

Log:
Fix a long standing bug: sort the actual branch array, not a copy of it.

Changed paths:
  M  include/branches.inc


Diff:
diff --git a/include/branches.inc b/include/branches.inc
index e62e51b..a0c4fab 100644
--- a/include/branches.inc
+++ b/include/branches.inc
@@ -39,7 +39,7 @@ function get_eol_branches() {
        }
 
        krsort($branches);
-       foreach ($branches as $major => $branch) {
+       foreach ($branches as $major => &$branch) {
                krsort($branch);
        }


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

Reply via email to