From 1d0f6479da4cdbd14b747ead6cb934a769a9579d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 28 Oct 2010 02:27:09 +0000 Subject: - Patch #839556 by jrchamp, dmitrig01: remove pointless usage of array_key_exists(). --- modules/profile/profile.admin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/profile') diff --git a/modules/profile/profile.admin.inc b/modules/profile/profile.admin.inc index 864e847e0..9c20d3239 100644 --- a/modules/profile/profile.admin.inc +++ b/modules/profile/profile.admin.inc @@ -126,7 +126,7 @@ function theme_profile_admin_overview($variables) { $category_number = 0; foreach (element_children($form) as $key) { // Don't take form control structures. - if (array_key_exists('category', $form[$key])) { + if (isset($form[$key]['category'])) { $field = &$form[$key]; $category = $field['category']['#default_value']; -- cgit v1.2.3