Révision e4c061ad
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/ctools/page_manager/plugins/tasks/user_edit.inc | ||
---|---|---|
97 | 97 |
$output = ctools_context_handler_render($task, '', $contexts, array($account->uid)); |
98 | 98 |
if (is_array($output)) { |
99 | 99 |
$output = drupal_render($output); |
100 |
}
|
|
101 |
if ($output != FALSE) { |
|
100 |
} |
|
101 |
if ($output !== FALSE) {
|
|
102 | 102 |
return $output; |
103 | 103 |
} |
104 | 104 |
|
... | ... | |
119 | 119 |
//call drupal_build_form. |
120 | 120 |
$form_state = array(); |
121 | 121 |
$form_id = 'user_profile_form'; |
122 |
$args = array($account); |
|
122 |
$args = array($account, $category);
|
|
123 | 123 |
$form_state['build_info']['args'] = $args; |
124 | 124 |
form_load_include($form_state, 'inc', 'user', 'user.pages'); |
125 | 125 |
$output = drupal_build_form($form_id, $form_state); |
Formats disponibles : Unified diff
Weekly update of contrib modules