- Patch #173303 by dvessel: fixed E_NOTICE.

6.x
Dries Buytaert 2007-09-05 18:11:27 +00:00
parent eb5e19f0c6
commit b0493c003c
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}