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-19721@lists.php.net to get a copy of this message
Commit: 00dc07a0bf450044c2e5631404227ff0546d4c16 Author: Adam Harvey <aharvey@php.net> 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); }

« previous php.webmaster (#19721) next »