diff --git a/mod/register.php b/mod/register.php
index 208f97bcb..faee66c26 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -214,7 +214,8 @@ function register_content(&$a) {
$oidlabel = '';
}
else {
- $oidhtml = '';
+ $oidhtml = '';
+ $oidhtml_old = '';
$fillwith = t("You may \x28optionally\x29 fill in this form via OpenID by supplying your OpenID and clicking 'Register'.");
$fillext = t('If you are not familiar with OpenID, please leave that field blank and fill in the rest of the items.');
$oidlabel = t("Your OpenID \x28optional\x29: ");
@@ -252,6 +253,7 @@ function register_content(&$a) {
$o = replace_macros($o, array(
'$oidhtml' => $oidhtml,
+ '$oidhtml_old' => $oidhtml_old,
'$invitations' => get_config('system','invitation_only'),
'$invite_desc' => t('Membership on this site is by invitation only.'),
'$invite_label' => t('Your invitation ID: '),
diff --git a/view/register.tpl b/view/register.tpl
index 7cf11881a..ed96f969b 100644
--- a/view/register.tpl
+++ b/view/register.tpl
@@ -12,7 +12,7 @@