summaryrefslogtreecommitdiff
path: root/modules/profile/profile.module
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-05 00:26:36 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-05 00:26:36 +0000
commitcd430165d706c6a747f81e663f756e60a4a0377f (patch)
tree88915ae0fe216462d071760a005489e9838fff77 /modules/profile/profile.module
parent6839ce965fb7ac37bf735a0b169009cca7529429 (diff)
downloadbrdo-cd430165d706c6a747f81e663f756e60a4a0377f.tar.gz
brdo-cd430165d706c6a747f81e663f756e60a4a0377f.tar.bz2
#73884 by RobRoy, various code cleanup.
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])) {