Skip to content
Snippets Groups Projects
Commit b0493c00 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #173303 by dvessel: fixed E_NOTICE.

parent eb5e19f0
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -166,7 +166,7 @@ function profile_block($op = 'list', $delta = 0, $edit = array()) { ...@@ -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); $profile = _profile_update_user_fields($fields, $account);
$output .= theme('profile_block', $account, $profile, TRUE); $output .= theme('profile_block', $account, $profile, TRUE);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment