summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-30 18:32:24 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-30 18:32:24 +0000
commit8b8a585ab2b76e7993d1d6ed4e2756d88df6036b (patch)
tree58772be36bc222f21aa99a8cd33f345c2d9ca63a
parent48b367c9d024a848e28bd251b6f50528769a125a (diff)
downloadbrdo-8b8a585ab2b76e7993d1d6ed4e2756d88df6036b.tar.gz
brdo-8b8a585ab2b76e7993d1d6ed4e2756d88df6036b.tar.bz2
- Patch #44724: fixed problem with profile.module.
-rw-r--r--modules/profile.module4
-rw-r--r--modules/profile/profile.module4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/profile.module b/modules/profile.module
index c9cdfaa60..0e563b2bf 100644
--- a/modules/profile.module
+++ b/modules/profile.module
@@ -218,8 +218,8 @@ function profile_browse() {
$output = '<div id="profile">';
while ($account = db_fetch_object($result)) {
$account = user_load(array('uid' => $account->uid));
- $fields = _profile_update_user_fields($fields, $account);
- $output .= theme('profile_listing', $account, $fields);
+ $profile = _profile_update_user_fields($fields, $account);
+ $output .= theme('profile_listing', $account, $profile);
}
$output .= '</div>';
$output .= theme('pager', NULL, 20);
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index c9cdfaa60..0e563b2bf 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -218,8 +218,8 @@ function profile_browse() {
$output = '<div id="profile">';
while ($account = db_fetch_object($result)) {
$account = user_load(array('uid' => $account->uid));
- $fields = _profile_update_user_fields($fields, $account);
- $output .= theme('profile_listing', $account, $fields);
+ $profile = _profile_update_user_fields($fields, $account);
+ $output .= theme('profile_listing', $account, $profile);
}
$output .= '</div>';
$output .= theme('pager', NULL, 20);