summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-09-05 18:11:27 +0000
committerDries Buytaert <dries@buytaert.net>2007-09-05 18:11:27 +0000
commitb0493c003c3bc10f2722b89c92db129e64c6333d (patch)
treee57584604e3630d50bbc17b5e4850ad09fbeda00
parenteb5e19f0c61c3561192e641e774740d7d37f685f (diff)
downloadbrdo-b0493c003c3bc10f2722b89c92db129e64c6333d.tar.gz
brdo-b0493c003c3bc10f2722b89c92db129e64c6333d.tar.bz2
- Patch #173303 by dvessel: fixed E_NOTICE.
-rw-r--r--modules/profile/profile.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 7bed3920c..fc80f53e0 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -166,7 +166,7 @@ function profile_block($op = 'list', $delta = 0, $edit = array()) {
}
}
- if ($fields) {
+ if (!empty($fields)) {
$profile = _profile_update_user_fields($fields, $account);
$output .= theme('profile_block', $account, $profile, TRUE);
}