Issue #2342243 by martin107: Within a nested foreach loop you cannot re-use the index variable!

8.0.x
Nathaniel Catchpole 2015-01-26 12:24:15 +00:00
parent 8b4fcd2fa1
commit 28e9d3ea08
1 changed files with 2 additions and 2 deletions

View File

@ -249,8 +249,8 @@ function theme_system_modules_details($variables) {
}
$description .= '</div>';
$links = '';
foreach (array('help', 'permissions', 'configure') as $key) {
$links .= drupal_render($module['links'][$key]);
foreach (array('help', 'permissions', 'configure') as $link_type) {
$links .= drupal_render($module['links'][$link_type]);
}
if ($links) {
$description .= ' <div class="links">';