Index: trunk/extensions/OpenID/SpecialOpenIDLogin.body.php |
— | — | @@ -116,7 +116,7 @@ |
117 | 117 | $smallButtonsHTML .= '</div>'; |
118 | 118 | } |
119 | 119 | |
120 | | - $wgOut->addHTML( '<form id="openid_form" action="' . $sk->makeSpecialUrl( 'OpenIDLogin' ) . '" method="POST" onsubmit="openid.update()"">' . |
| 120 | + $wgOut->addHTML( '<form id="openid_form" action="' . $sk->makeSpecialUrl( 'OpenIDLogin' ) . '" method="POST" onsubmit="openid.update()">' . |
121 | 121 | '<fieldset><legend>' . wfMsg( 'openidsigninorcreateaccount' ) . '</legend>' . |
122 | 122 | $largeButtonsHTML . |
123 | 123 | '<div id="openid_input_area">' . |
— | — | @@ -218,7 +218,7 @@ |
219 | 219 | } |
220 | 220 | |
221 | 221 | function returnTo() { |
222 | | - return $_SESSION['openid_consumer_returnto']; |
| 222 | + return isset( $_SESSION['openid_consumer_returnto'] ) ? $_SESSION['openid_consumer_returnto'] : ''; |
223 | 223 | } |
224 | 224 | |
225 | 225 | function setReturnTo( $returnto ) { |