summaryrefslogtreecommitdiff
path: root/modules/openid/openid.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-03-14 20:13:27 +0000
committerDries Buytaert <dries@buytaert.net>2009-03-14 20:13:27 +0000
commitb46e90ad366c57095183891de56894d6a449bc14 (patch)
treeef143eea19b24d749d790b95c82658c02fb444e4 /modules/openid/openid.module
parentc85fa2b0e17d59b826c8ed51cd888fe8adae249a (diff)
downloadbrdo-b46e90ad366c57095183891de56894d6a449bc14.tar.gz
brdo-b46e90ad366c57095183891de56894d6a449bc14.tar.bz2
- Patch #322344 by merlinofchaos, Frando, catch, sun: form improvements from Views.
Diffstat (limited to 'modules/openid/openid.module')
-rw-r--r--modules/openid/openid.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openid/openid.module b/modules/openid/openid.module
index 094c84a20..f9f54faf2 100644
--- a/modules/openid/openid.module
+++ b/modules/openid/openid.module
@@ -87,7 +87,7 @@ function openid_form_user_login_alter(&$form, &$form_state) {
function _openid_user_login_form_alter(&$form, &$form_state) {
drupal_add_css(drupal_get_path('module', 'openid') . '/openid.css');
drupal_add_js(drupal_get_path('module', 'openid') . '/openid.js');
- if (!empty($form_state['post']['openid_identifier'])) {
+ if (!empty($form_state['input']['openid_identifier'])) {
$form['name']['#required'] = FALSE;
$form['pass']['#required'] = FALSE;
unset($form['#submit']);