Issue #2342243 by martin107: Within a nested foreach loop you cannot re-use the index variable!
parent
8b4fcd2fa1
commit
28e9d3ea08
|
@ -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">';
|
||||
|
|
Loading…
Reference in New Issue