Commit b0493c00 authored by Dries's avatar Dries
Browse files

- Patch #173303 by dvessel: fixed E_NOTICE.

parent eb5e19f0
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment