Commit ce1d915a authored by Gerhard Killesreiter's avatar Gerhard Killesreiter

#60458, remove notice and not needed variable, patch by Zen

parent 8d48ee17
......@@ -553,10 +553,8 @@ function user_block($op = 'list', $delta = 0, $edit = array()) {
$items[] = l(t('Request new password'), 'user/password', array('title' => t('Request new password via e-mail.')));
$form['links'] = array('#value' => theme('item_list', $items));
$output .= drupal_get_form('user_login_block', $form, 'user_login');
$block['subject'] = t('User login');
$block['content'] = $output;
$block['content'] = drupal_get_form('user_login_block', $form, 'user_login');
}
return $block;
......
......@@ -553,10 +553,8 @@ function user_block($op = 'list', $delta = 0, $edit = array()) {
$items[] = l(t('Request new password'), 'user/password', array('title' => t('Request new password via e-mail.')));
$form['links'] = array('#value' => theme('item_list', $items));
$output .= drupal_get_form('user_login_block', $form, 'user_login');
$block['subject'] = t('User login');
$block['content'] = $output;
$block['content'] = drupal_get_form('user_login_block', $form, 'user_login');
}
return $block;
......
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