com web/php: Fix a long standing bug: sort the actual branch array, not a copy of it.: include/branches.inc

From: Date: Tue, 19 Aug 2014 22:01:22 +0000
Subject: com web/php: Fix a long standing bug: sort the actual branch array, not a copy of it.: include/branches.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-21922@lists.php.net to get a copy of this message
Commit: 19fcb6e51cf3ce8cdcbe6f0a81b2573ddc46c2c2 Author: Adam Harvey <aharvey@php.net> 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); }

« previous php.webmaster (#21922) next »