Commit 0d7426a1 authored by Dries's avatar Dries
Browse files

- Patch #7704 by mathias: fixed warning due to initialization problem.

parent c314ff54
......@@ -1137,6 +1137,7 @@ function user_edit($edit = array()) {
function _user_profile($edit, $account, $mode = 'form') {
$groups = array();
foreach (module_list() as $module) {
if ($data = module_invoke($module, 'user', $mode, $edit, $account)) {
foreach ($data as $title => $form) {
......
......@@ -1137,6 +1137,7 @@ function user_edit($edit = array()) {
function _user_profile($edit, $account, $mode = 'form') {
$groups = array();
foreach (module_list() as $module) {
if ($data = module_invoke($module, 'user', $mode, $edit, $account)) {
foreach ($data as $title => $form) {
......
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