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

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

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