summaryrefslogtreecommitdiff
path: root/modules/profile/profile.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile/profile.module')
-rw-r--r--modules/profile/profile.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 9e7dbf285..db86fc314 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -634,6 +634,7 @@ function profile_form_profile($edit, $user, $category) {
// Use LOWER('%s') instead of PHP's strtolower() to avoid UTF-8 conversion issues.
}
+ $w = 0;
while ($field = db_fetch_object($result)) {
$category = $field->category;
if (!isset($fields[$category])) {