summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2015-03-30 14:45:45 -0400
committerDavid Rothstein <drothstein@gmail.com>2015-03-30 14:45:45 -0400
commitcedcc04cf8d0432e8a57f3d965a604601252af5f (patch)
tree921d9d6094eab0ca2349da6be5f8e1ea98b3bad1 /modules/system
parentb386d9211922a466485ba2e2ac83bbce2d3f7db5 (diff)
downloadbrdo-cedcc04cf8d0432e8a57f3d965a604601252af5f.tar.gz
brdo-cedcc04cf8d0432e8a57f3d965a604601252af5f.tar.bz2
Issue #2342243 by martin107, serundeputy: Rename a variable in theme_system_modules_fieldset() to avoid colliding index variable names in a nested foreach loop
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.admin.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 22c202c3f..0f525c6cf 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -2646,8 +2646,8 @@ function theme_system_modules_fieldset($variables) {
}
$row[] = array('data' => $description, 'class' => array('description'));
// Display links (such as help or permissions) in their own columns.
- foreach (array('help', 'permissions', 'configure') as $key) {
- $row[] = array('data' => drupal_render($module['links'][$key]), 'class' => array($key));
+ foreach (array('help', 'permissions', 'configure') as $link_type) {
+ $row[] = array('data' => drupal_render($module['links'][$link_type]), 'class' => array($link_type));
}
$rows[] = $row;
}