diff --git a/doc/rpm-build/checkout-build-archives.php b/doc/rpm-build/checkout-build-archives.php index ead89daec4..dcff93363b 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