From d1bc88924267f992b539b635a8de296e96c56ae3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 2 May 2008 15:11:05 +0000 Subject: - Patch #227830 by JohnAlbin: link attributes added to l() incorrectly. --- modules/user/user.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/user/user.module') diff --git a/modules/user/user.module b/modules/user/user.module index fd3f5b0c2..2b1414c59 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -627,9 +627,9 @@ function user_login_block() { ); $items = array(); if (variable_get('user_register', 1)) { - $items[] = l(t('Create new account'), 'user/register', array('title' => t('Create a new user account.'))); + $items[] = l(t('Create new account'), 'user/register', array('attributes' => array('title' => t('Create a new user account.')))); } - $items[] = l(t('Request new password'), 'user/password', array('title' => t('Request new password via e-mail.'))); + $items[] = l(t('Request new password'), 'user/password', array('attributes' => array('title' => t('Request new password via e-mail.')))); $form['links'] = array('#value' => theme('item_list', $items)); return $form; } -- cgit v1.2.3