summaryrefslogtreecommitdiff
path: root/modules/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-02-15 21:03:20 +0000
committerDries Buytaert <dries@buytaert.net>2006-02-15 21:03:20 +0000
commit9dacf2f8d7543c8da1b0efa9d814b8fa35b0abe3 (patch)
tree1e17036afcf572d1b6462b6d608645489fb27fb9 /modules/user.module
parentf030164bcb8d08de5f946f9e00813d9dcf72729a (diff)
downloadbrdo-9dacf2f8d7543c8da1b0efa9d814b8fa35b0abe3.tar.gz
brdo-9dacf2f8d7543c8da1b0efa9d814b8fa35b0abe3.tar.bz2
- Patch #47785 by chx: login block not w3 compatible (two id attributes)
Diffstat (limited to 'modules/user.module')
-rw-r--r--modules/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user.module b/modules/user.module
index acc505f75..9558b7c3e 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -523,7 +523,7 @@ function user_block($op = 'list', $delta = 0, $edit = array()) {
// For usability's sake, avoid showing two login forms on one page.
if (!$user->uid && !(arg(0) == 'user' && !is_numeric(arg(1)))) {
$form['#action'] = url($_GET['q'], drupal_get_destination());
- $form['#attributes'] = array('id' => 'user-login-form');
+ $form['#id'] = 'user-login-form';
$form['name'] = array('#type' => 'textfield',
'#title' => t('Username'),
'#maxlength' => 60,