diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-11 18:33:44 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-11 18:33:44 +0000 |
commit | ff301288f2ea06d76606c05bccac5957e2873a94 (patch) | |
tree | b46d9d7e56612945850281a136161967ba8bc5f2 /modules/openid | |
parent | de33f74b4040cc3f7880269152b277d90b081cc8 (diff) | |
download | brdo-ff301288f2ea06d76606c05bccac5957e2873a94.tar.gz brdo-ff301288f2ea06d76606c05bccac5957e2873a94.tar.bz2 |
- Patch #348448 by mfb, c960657, marvil07, cdale, jpmckinney: fixed PHP strict warnings when running tests and for PHP 5.3.
Diffstat (limited to 'modules/openid')
-rw-r--r-- | modules/openid/openid.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/openid/openid.inc b/modules/openid/openid.inc index 14a28486f..2957699ac 100644 --- a/modules/openid/openid.inc +++ b/modules/openid/openid.inc @@ -90,7 +90,8 @@ function openid_redirect_http($url, $message) { */ function openid_redirect($url, $message) { $output = '<html><head><title>' . t('OpenID redirect') . "</title></head>\n<body>"; - $output .= drupal_render(drupal_get_form('openid_redirect_form', $url, $message)); + $elements = drupal_get_form('openid_redirect_form', $url, $message); + $output .= drupal_render($elements); $output .= '<script type="text/javascript">document.getElementById("openid-redirect-form").submit();</script>'; $output .= "</body></html>\n"; print $output; |