diff --git a/doc/rpm-build/checkout-build-archives.php b/doc/rpm-build/checkout-build-archives.php index 2378b68a11..139d3c4263 100755 --- a/doc/rpm-build/checkout-build-archives.php +++ b/doc/rpm-build/checkout-build-archives.php @@ -616,7 +616,7 @@ function do_editchangelog() $revision = null; if (substr($branch_url, -4) == '.git') { - list($path) = each($modules); + $path = key($modules); $changelog .= get_changelog_from_git($path, $config['editchangelog'], $last_tag); } else