Commit 28e9d3ea authored by catch's avatar catch

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

parent 8b4fcd2f
......@@ -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">';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment